Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +23 -13
requirements.txt
CHANGED
@@ -1,13 +1,23 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
streamlit
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# Core dependencies
|
3 |
+
streamlit>=1.26.0
|
4 |
+
torch>=2.0.0
|
5 |
+
langdetect>=1.0.9
|
6 |
+
|
7 |
+
# LangChain components
|
8 |
+
langchain>=0.0.267
|
9 |
+
langchain-core>=0.0.12
|
10 |
+
langchain-huggingface>=0.0.1
|
11 |
+
|
12 |
+
# HuggingFace libraries
|
13 |
+
transformers>=4.30.0
|
14 |
+
huggingface-hub>=0.16.4
|
15 |
+
accelerate>=0.21.0
|
16 |
+
|
17 |
+
# API interaction
|
18 |
+
requests>=2.31.0
|
19 |
+
|
20 |
+
# Optional: For better performance with GPU
|
21 |
+
# Note: Comment these out if you're on CPU only and having issues
|
22 |
+
sentencepiece>=0.1.99
|
23 |
+
bitsandbytes>=0.41.0 # For model quantization if needed
|