Spaces:
Runtime error
Runtime error
added env
Browse files
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ RUN pip install --trusted-host pypi.python.org -r requirements.txt && \
|
|
| 16 |
EXPOSE 80
|
| 17 |
|
| 18 |
# Set the TORTOISE_MODELS_DIR environment variable
|
| 19 |
-
|
| 20 |
|
| 21 |
# Create the directory for pretrained models
|
| 22 |
# RUN mkdir -p $TORTOISE_MODELS_DIR
|
|
@@ -24,16 +24,16 @@ EXPOSE 80
|
|
| 24 |
RUN echo "Downloading models through docker container..."
|
| 25 |
|
| 26 |
# Download all the models
|
| 27 |
-
RUN wget -O $TORTOISE_MODELS_DIR/autoregressive.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/autoregressive.pth && \
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
|
| 38 |
RUN echo "Finished downloading models through docker container..."
|
| 39 |
|
|
|
|
| 16 |
EXPOSE 80
|
| 17 |
|
| 18 |
# Set the TORTOISE_MODELS_DIR environment variable
|
| 19 |
+
ENV TORTOISE_MODELS_DIR tortoise/models/pretrained_models
|
| 20 |
|
| 21 |
# Create the directory for pretrained models
|
| 22 |
# RUN mkdir -p $TORTOISE_MODELS_DIR
|
|
|
|
| 24 |
RUN echo "Downloading models through docker container..."
|
| 25 |
|
| 26 |
# Download all the models
|
| 27 |
+
# RUN wget -O $TORTOISE_MODELS_DIR/autoregressive.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/autoregressive.pth && \
|
| 28 |
+
# wget -O $TORTOISE_MODELS_DIR/classifier.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/classifier.pth && \
|
| 29 |
+
# wget -O $TORTOISE_MODELS_DIR/clvp2.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/clvp2.pth && \
|
| 30 |
+
# wget -O $TORTOISE_MODELS_DIR/cvvp.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/cvvp.pth && \
|
| 31 |
+
# wget -O $TORTOISE_MODELS_DIR/diffusion_decoder.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/diffusion_decoder.pth && \
|
| 32 |
+
# wget -O $TORTOISE_MODELS_DIR/vocoder.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/vocoder.pth && \
|
| 33 |
+
# wget -O $TORTOISE_MODELS_DIR/rlg_auto.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/rlg_auto.pth && \
|
| 34 |
+
# wget -O $TORTOISE_MODELS_DIR/rlg_diffuser.pth https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/rlg_diffuser.pth && \
|
| 35 |
+
# wget -O $TORTOISE_MODELS_DIR/bigvgan_base_24khz_100band_g.pth https://drive.google.com/uc?id=1_cKskUDuvxQJUEBwdgjAxKuDTUW6kPdY && \
|
| 36 |
+
# wget -O $TORTOISE_MODELS_DIR/bigvgan_24khz_100band_g.pth https://drive.google.com/uc?id=1wmP_mAs7d00KHVfVEl8B5Gb72Kzpcavp
|
| 37 |
|
| 38 |
RUN echo "Finished downloading models through docker container..."
|
| 39 |
|
autoregressive.pth → tortoise/pretrained_models/autoregressive.pth
RENAMED
|
File without changes
|