Update requirements.txt
Browse files- requirements.txt +11 -12
requirements.txt
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
transformers==4.
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
chromadb==0.3.26
|
|
|
1 |
+
langchain==0.0.152 # Ensure compatibility with pydantic 1.x
|
2 |
+
pydantic==1.10.2 # Avoids @model_validator requirement from pydantic 2.x
|
3 |
+
|
4 |
+
# Add any other dependencies you require here, for example:
|
5 |
+
transformers==4.33.0 # Adjust to a compatible version if using Hugging Face models
|
6 |
+
torch==2.0.1 # Ensure version matches your environment if using PyTorch
|
7 |
+
sentence-transformers==2.2.2 # Optional, for embeddings
|
8 |
+
accelerate==0.20.3 # Optional, for model acceleration with Hugging Face
|
9 |
+
|
10 |
+
# If you need Gradio for the interface on Hugging Face Spaces
|
11 |
+
gradio==3.32.0 # Adjust based on compatibility and features needed
|
|