Spaces:
Runtime error
Runtime error
title: Vp App | |
emoji: π | |
colorFrom: yellow | |
colorTo: blue | |
sdk: gradio | |
sdk_version: 5.5.0 | |
app_file: app.py | |
pinned: false | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
--- | |
# How to setup the App: | |
- Create an environment using `python3 -m venv venv` | |
- Activate the environment using `source venv/bin/activate` | |
- Navigate to project folder such as `sub-visa-policy-assistant` | |
- run `pip install -r requirements.txt` | |
- create a `.env` file to store secrets, it should have the following variables i.e., `OPENAI_API_KEY`, `VECTORSTORE_ID` and `ASSISTANT_ID` | |
- run the app using `python app.py` | |
Open the app at http://localhost:7860 | |