alexcg1 / jina-streamlit-frontend

A simple front-end for Jina neural search framework, written in Streamlit, that supports querying with image, text, or drawing on a canvas.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is deprecated. Please search my repos for "example" where you can find many Jina apps with Streamlit frontends!


Jina + Streamlit

A simple front-end for Jina neural search framework, written in Streamlit, that supports querying with image, text, or drawing on a canvas.

1. Clone repo, install requirements

git clone https://github.com/alexcg1/jina-streamlit-frontend.git
cd jina-streamlit-frontend
pip install -r requirements.txt

1. Run Docker image

For text:

docker run -p 45678:45678 jinaai/hub.app.distilbert-southpark

For image:

docker run -p 65481:65481 -e "JINA_PORT=65481" jinaai/hub.app.bitsearch-pokedex search

3. Start up Streamlit front end

streamlit run app.py

4. Set endpoint

Use whatever Docker says is the right URL and port (in examples above, 45678 or 65481)

5. Search!

Text Image Draw

About

A simple front-end for Jina neural search framework, written in Streamlit, that supports querying with image, text, or drawing on a canvas.


Languages

Language:Python 100.0%