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

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +11 -12
requirements.txt CHANGED
@@ -1,12 +1,11 @@
1
- opencv-python-headless==4.5.5.64
2
- pytesseract==0.3.10
3
- gradio==3.33.1
4
- torch==1.13.1
5
- transformers==4.30.2
6
- langchain==0.0.218
7
- langchain-community==0.0.14
8
- langchain-core
9
- bitsandbytes==0.38.1
10
- accelerate==0.21.0
11
- speechrecognition==3.8.1
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