kevin-pek
sbert gradio interface
91855c2
|
raw
history blame
735 Bytes

Document Semantic Search

Run

Run the app in reload mode with this command. This will let the app reload automatically when changes are made to the python script.

$ gradio main.py

Setup

Link to venv docs

Create environment:

$ python3 -m venv venv

To activate the environment:

UNIX/MacOS:

$ source venv/bin/activate

Windows:

$ venv/Scripts/activate

Install dependencies:

If this is your first time running this or the package dependencies have changed, run this command to install all dependencies.

$ pip install -r requirements.txt

Deactivate environment:

$ deactivate