Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,10 @@ from haystack.nodes import EmbeddingRetriever
|
|
11 |
# from huggingface_hub import login, HfApi, hf_hub_download, InferenceClient
|
12 |
import openai
|
13 |
|
|
|
|
|
|
|
|
|
14 |
# for local st testing, may need to run source ~/.zshrc to point to env vars
|
15 |
|
16 |
# Get HF token (used for llama2)
|
|
|
11 |
# from huggingface_hub import login, HfApi, hf_hub_download, InferenceClient
|
12 |
import openai
|
13 |
|
14 |
+
|
15 |
+
os.system("pip uninstall -y pydantic")
|
16 |
+
os.system('pip install pydantic==1.8.2')
|
17 |
+
|
18 |
# for local st testing, may need to run source ~/.zshrc to point to env vars
|
19 |
|
20 |
# Get HF token (used for llama2)
|