Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +22 -24
requirements.txt
CHANGED
|
@@ -1,28 +1,26 @@
|
|
| 1 |
-
#
|
| 2 |
streamlit==1.30.0
|
| 3 |
|
| 4 |
-
# LangChain -
|
| 5 |
-
langchain=
|
| 6 |
-
langchain-community=
|
| 7 |
-
langchain-core=
|
| 8 |
-
langchain-google-genai=
|
| 9 |
-
langchain-huggingface=
|
| 10 |
|
| 11 |
-
#
|
| 12 |
-
sentence-transformers=
|
| 13 |
-
faiss-cpu=
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|