Spaces:
Runtime error
Runtime error
umairahmad1789
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -10,3 +10,16 @@ pinned: false
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
|
14 |
+
---
|
15 |
+
|
16 |
+
# How to setup the App:
|
17 |
+
|
18 |
+
- Create an environment using `python3 -m venv venv`
|
19 |
+
- Activate the environment using `source venv/bin/activate`
|
20 |
+
- Navigate to project folder such as `sub-visa-policy-assistant`
|
21 |
+
- run `pip install -r requirements.txt`
|
22 |
+
- create a `.env` file to store secrets, it should have the following variables i.e., `OPENAI_API_KEY`, `VECTORSTORE_ID` and `ASSISTANT_ID`
|
23 |
+
- run the app using `python app.py`
|
24 |
+
|
25 |
+
Open the app at http://localhost:7860
|