MojoHz commited on
Commit
8758e3f
·
verified ·
1 Parent(s): 6340cdf

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -10
requirements.txt CHANGED
@@ -1,11 +1,10 @@
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
 
1
+ langchain==0.0.152
2
+ pydantic==1.10.2
3
+ transformers==4.33.0
4
+ torch==2.0.1
5
+ sentence-transformers==2.2.2
6
+ accelerate==0.20.3
7
+ gradio==3.32.0
8
 
9
+ # Add OpenCV for image processing
10
+ opencv-python==4.8.0.74 # Or latest stable version compatible with your setup