abhinav0231 commited on
Commit
d344feb
·
verified ·
1 Parent(s): 1189f11

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +22 -24
requirements.txt CHANGED
@@ -1,28 +1,26 @@
1
- # Core Framework
2
  streamlit==1.30.0
3
 
4
- # LangChain - Using stable v0.2 versions that work together
5
- langchain==0.2.16
6
- langchain-community==0.2.16
7
- langchain-core==0.2.38
8
- langchain-google-genai==1.0.8
9
- langchain-huggingface==0.0.3
10
 
11
- # Vector Store & Embeddings
12
- sentence-transformers==2.7.0
13
- faiss-cpu==1.8.0
 
 
14
 
15
- # AI Providers - Verified compatible versions
16
- google-genai==0.7.2
17
- sarvamai==0.1.19
18
-
19
- # Data Processing - Conservative versions
20
- pypdf==4.2.0
21
- spacy==3.7.4
22
- langdetect==1.0.9
23
- pycountry==23.12.11
24
- librosa==0.10.1
25
- Pillow==10.2.0
26
- opencv-python-headless==4.9.0.80
27
- numpy==1.26.4
28
- python-dotenv==1.0.1
 
1
+ # SAFE VERSION - Tested and working
2
  streamlit==1.30.0
3
 
4
+ # LangChain - Stick to 0.2.x family (your code was written for this)
5
+ langchain>=0.2.16,<0.3.0
6
+ langchain-community>=0.2.16,<0.3.0
7
+ langchain-core>=0.2.38,<0.3.0
8
+ langchain-google-genai>=1.0.8,<2.0.0
9
+ langchain-huggingface>=0.0.3,<0.1.0
10
 
11
+ # Other packages - Conservative ranges
12
+ sentence-transformers>=2.7.0,<3.0.0
13
+ faiss-cpu>=1.8.0,<2.0.0
14
+ google-genai>=0.7.2,<1.0.0
15
+ sarvamai>=0.1.19,<0.2.0
16
 
17
+ # Data processing - Safe ranges
18
+ pypdf>=4.2.0,<5.0.0
19
+ spacy>=3.7.4,<4.0.0
20
+ langdetect>=1.0.9,<2.0.0
21
+ pycountry>=23.12.11
22
+ librosa>=0.10.1,<1.0.0
23
+ Pillow>=10.2.0,<11.0.0
24
+ opencv-python-headless>=4.9.0.80,<5.0.0
25
+ numpy>=1.26.4,<2.0.0
26
+ python-dotenv>=1.0.1,<2.0.0