Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
|
@@ -10,14 +10,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
# 2. Install Torch (CPU version)
|
| 11 |
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
| 12 |
|
| 13 |
-
# 3. Install the 400M Emotional Engine (F5-TTS)
|
| 14 |
-
RUN pip install --no-cache-dir f5-tts fastapi uvicorn python-multipart soundfile
|
| 15 |
|
| 16 |
-
# 4.
|
| 17 |
-
# This link is from the official project tests and is very stable.
|
| 18 |
-
RUN wget -O ref_audio.wav https://github.com/SWivid/F5-TTS/raw/main/tests/ref_audio/test_en_1_ref_short.wav
|
| 19 |
-
|
| 20 |
-
# 5. Copy server script
|
| 21 |
COPY app.py .
|
| 22 |
|
| 23 |
EXPOSE 7860
|
|
|
|
| 10 |
# 2. Install Torch (CPU version)
|
| 11 |
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
| 12 |
|
| 13 |
+
# 3. Install the 400M Emotional Engine (F5-TTS) and requests
|
| 14 |
+
RUN pip install --no-cache-dir f5-tts fastapi uvicorn python-multipart soundfile requests
|
| 15 |
|
| 16 |
+
# 4. Copy server script
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
COPY app.py .
|
| 18 |
|
| 19 |
EXPOSE 7860
|