Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +11 -11
requirements.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
huggingface-hub>=0.23.0
|
2 |
-
langchain==0.0.208 #
|
3 |
-
langchain-core==0.
|
4 |
-
langchain-huggingface==0.
|
5 |
-
gradio==3.41.2
|
6 |
-
datasets
|
7 |
-
pandas==2.1.1
|
8 |
-
sentence-transformers==2.2.2
|
9 |
-
chromadb==0.4.2
|
10 |
-
nltk==3.8.1
|
11 |
-
ollama
|
12 |
-
pydantic==
|
|
|
1 |
huggingface-hub>=0.23.0
|
2 |
+
langchain==0.0.208 # Version compatible with pydantic <2
|
3 |
+
langchain-core==0.1.0 # Downgrade to a version that supports pydantic 1.x
|
4 |
+
langchain-huggingface==0.0.4 # Compatible with this version of langchain-core
|
5 |
+
gradio==3.41.2
|
6 |
+
datasets==2.15.1
|
7 |
+
pandas==2.1.1
|
8 |
+
sentence-transformers==2.2.2
|
9 |
+
chromadb==0.4.2
|
10 |
+
nltk==3.8.1
|
11 |
+
ollama
|
12 |
+
pydantic==1.10.12 # Aligned with langchain
|