Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +11 -7
requirements.txt
CHANGED
|
@@ -1,8 +1,12 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
numpy<2.0 # <-- Add or modify this line
|
| 8 |
-
# Add any other specific dependencies you have
|
|
|
|
| 1 |
+
streamlit>=1.28.0 # Use a recent version
|
| 2 |
+
google-generativeai>=0.3.0
|
| 3 |
+
pillow>=9.0.0
|
| 4 |
+
numpy<2.0 # CRITICAL: Pin numpy version below 2.0 for chromadb compatibility
|
| 5 |
+
chromadb>=0.4.18,<0.5.0 # Pin chromadb to avoid breaking changes, ensure compatibility with numpy<2.0
|
| 6 |
+
sentence-transformers>=2.2.0 # Needed by DefaultEmbeddingFunction
|
| 7 |
+
protobuf # Often needed implicitly by google libs or chromadb persistence
|
| 8 |
|
| 9 |
+
# Optional, but good practice:
|
| 10 |
+
# pydantic <2 # Some libraries might still depend on Pydantic v1 syntax
|
| 11 |
+
|
| 12 |
+
# Add any other specific libraries you might use
|
|
|
|
|
|