Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -9,6 +9,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
|
| 10 |
# Copy requirements and install
|
| 11 |
COPY requirements.txt .
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
# # Install huggingface hub CLI
|
|
@@ -23,8 +27,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 23 |
# hf_hub_download('MariaKaiser/EGTTS_finetuned', 'vocab.json', cache_dir=MODEL_DIR); \
|
| 24 |
# hf_hub_download('MariaKaiser/EGTTS_finetuned', 'model.pth', cache_dir=MODEL_DIR)"
|
| 25 |
|
| 26 |
-
|
| 27 |
-
--index-url https://download.pytorch.org/whl/cu121
|
| 28 |
|
| 29 |
# Copy the app code
|
| 30 |
COPY . .
|
|
|
|
| 9 |
|
| 10 |
# Copy requirements and install
|
| 11 |
COPY requirements.txt .
|
| 12 |
+
|
| 13 |
+
RUN pip install --no-cache-dir torch==2.2.2+cu121 torchaudio==2.2.2+cu121 \
|
| 14 |
+
--index-url https://download.pytorch.org/whl/cu121
|
| 15 |
+
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
# # Install huggingface hub CLI
|
|
|
|
| 27 |
# hf_hub_download('MariaKaiser/EGTTS_finetuned', 'vocab.json', cache_dir=MODEL_DIR); \
|
| 28 |
# hf_hub_download('MariaKaiser/EGTTS_finetuned', 'model.pth', cache_dir=MODEL_DIR)"
|
| 29 |
|
| 30 |
+
|
|
|
|
| 31 |
|
| 32 |
# Copy the app code
|
| 33 |
COPY . .
|