Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +23 -0
requirements.txt
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- Core backend ---
|
| 2 |
+
flask==3.0.3
|
| 3 |
+
flask-cors==4.0.1
|
| 4 |
+
|
| 5 |
+
# --- OpenAI API client ---
|
| 6 |
+
openai>=1.42.0
|
| 7 |
+
|
| 8 |
+
# --- NLP + Emotion analysis ---
|
| 9 |
+
transformers>=4.43.0
|
| 10 |
+
torch>=2.3.0
|
| 11 |
+
sentencepiece
|
| 12 |
+
huggingface-hub>=0.23.0
|
| 13 |
+
|
| 14 |
+
# --- Voice synthesis (for multiple voices) ---
|
| 15 |
+
gtts==2.5.1
|
| 16 |
+
pydub==0.25.1
|
| 17 |
+
|
| 18 |
+
# --- Utility + Environment ---
|
| 19 |
+
python-dotenv==1.0.1
|
| 20 |
+
requests>=2.31.0
|
| 21 |
+
|
| 22 |
+
# --- Optional (for smoother caching on HF Spaces) ---
|
| 23 |
+
hf-transfer>=0.1.6
|