Spaces:
Runtime error
Runtime error
# 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. | |
```shell | |
$ gradio main.py | |
``` | |
## Setup | |
[Link to venv docs](https://docs.python.org/3/library/venv.html) | |
### Create environment: | |
```shell | |
$ python3 -m venv venv | |
``` | |
### To activate the environment: | |
UNIX/MacOS: | |
```shell | |
$ source venv/bin/activate | |
``` | |
Windows: | |
```shell | |
$ 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. | |
```shell | |
$ pip install -r requirements.txt | |
``` | |
### Deactivate environment: | |
```shell | |
$ deactivate | |
``` | |