Spaces:
Build error
Build error
Justin
commited on
Commit
·
c56a53a
1
Parent(s):
7b00691
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -31,7 +31,7 @@ RUN pip install --no-cache-dir --upgrade tts
|
|
31 |
RUN pip install --no-cache-dir -r requirements.txt
|
32 |
|
33 |
RUN git lfs install
|
34 |
-
RUN git clone https://huggingface.co/voices/
|
35 |
|
36 |
# Copy the current directory contents into the container at $HOME/app, setting the owner to the user
|
37 |
COPY --chown=user . $HOME/app
|
@@ -39,4 +39,4 @@ COPY --chown=user . $HOME/app
|
|
39 |
RUN sed -i 's/supplemental\//model\/supplemental\//g' model/config.json
|
40 |
|
41 |
# Set the command to run the server
|
42 |
-
CMD ["python", "TTS/server/server.py", "--model_path", "model/
|
|
|
31 |
RUN pip install --no-cache-dir -r requirements.txt
|
32 |
|
33 |
RUN git lfs install
|
34 |
+
RUN git clone https://huggingface.co/voices/VCTK_Indian_and_SouthAfrican model
|
35 |
|
36 |
# Copy the current directory contents into the container at $HOME/app, setting the owner to the user
|
37 |
COPY --chown=user . $HOME/app
|
|
|
39 |
RUN sed -i 's/supplemental\//model\/supplemental\//g' model/config.json
|
40 |
|
41 |
# Set the command to run the server
|
42 |
+
CMD ["python", "TTS/server/server.py", "--model_path", "model/checkpoint_85000.pth", "--config_path", "model/config.json", "--port", "7860"]
|