Spencer525 commited on
Commit
d2c3c66
·
verified ·
1 Parent(s): 7535a33

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +3 -6
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  torch==2.1.0
2
- gradio==3.40.0 # Compatible with pydantic<2.0
3
  google-generativeai==0.3.1
4
  Pillow==10.0.0
5
  langchain-core==0.1.24
@@ -9,12 +9,9 @@ langchain-google-genai==0.0.5
9
  transformers==4.35.0
10
  pypdf==3.17.0
11
  python-doctr==0.7.0
12
- chromadb==0.4.4
13
  sentence-transformers==2.2.2
14
  pymupdf==1.22.5
15
  pandas==2.0.3
16
-
17
  cryptography>=40.0.0
18
-
19
- pydantic==2.8.0
20
- pydantic-settings==2.0.3 # Add this to support the new BaseSettings
 
1
  torch==2.1.0
2
+ gradio==3.40.0 # This version is compatible with pydantic 1.x
3
  google-generativeai==0.3.1
4
  Pillow==10.0.0
5
  langchain-core==0.1.24
 
9
  transformers==4.35.0
10
  pypdf==3.17.0
11
  python-doctr==0.7.0
12
+ chromadb==0.3.26 # Downgraded to a version compatible with pydantic 1.x
13
  sentence-transformers==2.2.2
14
  pymupdf==1.22.5
15
  pandas==2.0.3
16
+ pydantic==1.10.12 # Stay with pydantic 1.x to avoid conflicts
17
  cryptography>=40.0.0