Spaces:
Running
Running
Vietnamese test
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
@@ -30,8 +30,17 @@ WORKDIR /home/user/ebook2audiobook
|
|
30 |
#Install Python dependences from the ebook2audiobook repo
|
31 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
# Expose the required port
|
34 |
EXPOSE 7860
|
35 |
|
36 |
# Start the Gradio app from the repository
|
37 |
CMD ["python", "app.py"]
|
|
|
|
30 |
#Install Python dependences from the ebook2audiobook repo
|
31 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
32 |
|
33 |
+
#Install the vietnamese coqui-tts
|
34 |
+
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
35 |
+
|
36 |
+
# Replace "std" configuration in lib/conf.py during the build process with the vie one
|
37 |
+
RUN sed -i 's|"repo": "tts_models/multilingual/multi-dataset/xtts_v2"|"repo": "drewThomasson/fineTunedTTSModels"|' lib/conf.py && \
|
38 |
+
sed -i 's|"sub": ""|"sub": "Viet-xtts-v2"|' lib/conf.py
|
39 |
+
|
40 |
+
|
41 |
# Expose the required port
|
42 |
EXPOSE 7860
|
43 |
|
44 |
# Start the Gradio app from the repository
|
45 |
CMD ["python", "app.py"]
|
46 |
+
|