mgbam commited on
Commit
8c51c2c
·
verified ·
1 Parent(s): 76009f6

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +11 -7
requirements.txt CHANGED
@@ -1,8 +1,12 @@
1
- # requirements.txt
 
 
 
 
 
 
2
 
3
- streamlit
4
- google-generativeai
5
- chromadb-client # Or just chromadb if that's what you installed
6
- pillow
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