Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +11 -16
requirements.txt
CHANGED
|
@@ -1,18 +1,13 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
# Transformers and hub
|
| 5 |
transformers==4.39.3
|
| 6 |
huggingface-hub>=0.19.4
|
| 7 |
-
|
| 8 |
-
#
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
gradio
|
| 16 |
-
|
| 17 |
-
# Torch for model backend
|
| 18 |
-
torch>=2.1.0
|
|
|
|
| 1 |
+
sentence-transformers==2.7.0
|
| 2 |
+
torch>=2.1.0
|
|
|
|
|
|
|
| 3 |
transformers==4.39.3
|
| 4 |
huggingface-hub>=0.19.4
|
| 5 |
+
faiss-cpu==1.11.0
|
| 6 |
+
langchain==0.1.16 # Compatible with pydantic >=2
|
| 7 |
+
gradio==4.17.0 # Requires pydantic >=2
|
| 8 |
+
datasets
|
| 9 |
+
hf_xet>=1.0.0,<2.0.0
|
| 10 |
+
hf-transfer>=0.1.4
|
| 11 |
+
protobuf<4
|
| 12 |
+
click<8.1
|
| 13 |
+
pydantic>=2.0 # Ensures compatibility with both langchain 0.1.16 and gradio 4.17.0
|
|
|
|
|
|
|
|
|