Update requirements.txt
Browse files- requirements.txt +20 -34
requirements.txt
CHANGED
|
@@ -1,45 +1,31 @@
|
|
| 1 |
-
|
| 2 |
-
# CORE UI
|
| 3 |
-
###############################################
|
| 4 |
streamlit==1.28.0
|
| 5 |
tornado==6.3.3
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
soundfile
|
| 13 |
-
streamlit-audiorecorder
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
# OCR + Images
|
| 22 |
-
###############################################
|
| 23 |
-
pytesseract
|
| 24 |
-
pillow
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
###############################################
|
| 29 |
-
deep-translator
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
accelerate
|
| 36 |
-
sentencepiece
|
| 37 |
-
safetensors
|
| 38 |
|
| 39 |
-
|
| 40 |
-
# Utilities
|
| 41 |
-
###############################################
|
| 42 |
numpy<2
|
| 43 |
pandas
|
| 44 |
regex
|
| 45 |
requests
|
|
|
|
|
|
| 1 |
+
# --- Core app / UI ---
|
|
|
|
|
|
|
| 2 |
streamlit==1.28.0
|
| 3 |
tornado==6.3.3
|
| 4 |
|
| 5 |
+
# --- Audio I/O and TTS ---
|
| 6 |
+
gTTS==2.5.4
|
| 7 |
+
pydub==0.25.1
|
| 8 |
+
soundfile==0.13.1
|
| 9 |
+
streamlit-audiorecorder==0.0.6
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
# --- Torch + Transformers stack (for chat/LLM) ---
|
| 12 |
+
torch==2.2.2 # CPU wheel
|
| 13 |
+
transformers==4.40.0
|
| 14 |
+
accelerate==1.12.0
|
| 15 |
+
sentencepiece==0.2.1
|
| 16 |
+
safetensors==0.7.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
# --- Whisper (ASR) WITHOUT PyAV / ctranslate2 ---
|
| 19 |
+
openai-whisper==20231117
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
# --- OCR & translation ---
|
| 22 |
+
pytesseract==0.3.13
|
| 23 |
+
pillow==10.4.0
|
| 24 |
+
deep-translator==1.11.4
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
# --- General scientific / utility ---
|
|
|
|
|
|
|
| 27 |
numpy<2
|
| 28 |
pandas
|
| 29 |
regex
|
| 30 |
requests
|
| 31 |
+
|