Create requirements.txt
Browse files- requirements.txt +26 -0
requirements.txt
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# requirements.txt
|
2 |
+
|
3 |
+
# Core Streamlit for the UI
|
4 |
+
streamlit==1.33.0
|
5 |
+
|
6 |
+
# Hugging Face libraries for local models
|
7 |
+
# For PyTorch, choose CPU or CUDA version based on your Docker image and target hardware
|
8 |
+
# For CPU-only Docker image (as in the Dockerfile example below):
|
9 |
+
torch==2.2.1
|
10 |
+
transformers==4.38.2
|
11 |
+
accelerate==0.27.2 # Often used with transformers for efficient loading
|
12 |
+
|
13 |
+
# Specific TTS model library
|
14 |
+
parler-tts==0.1.0a2 # Check for the latest alpha or stable release if newer
|
15 |
+
|
16 |
+
# Audio file handling
|
17 |
+
soundfile==0.12.1
|
18 |
+
|
19 |
+
# Image manipulation
|
20 |
+
Pillow==10.2.0
|
21 |
+
|
22 |
+
# Google Generative AI SDK for Gemini
|
23 |
+
google-generativeai==0.5.2 # Or latest stable
|
24 |
+
|
25 |
+
# Optional: for better Hf Hub interaction if needed directly (often a dependency)
|
26 |
+
huggingface-hub==0.20.3
|