Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +9 -3
Dockerfile
CHANGED
@@ -33,9 +33,15 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
33 |
#Install the vietnamese coqui-tts
|
34 |
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
35 |
|
36 |
-
#
|
37 |
-
RUN sed -i '
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
# Expose the required port
|
|
|
33 |
#Install the vietnamese coqui-tts
|
34 |
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
35 |
|
36 |
+
# Dockerfile: Add the "Viet_Model" entry to the models dictionary in conf.py
|
37 |
+
RUN sed -i '/"fairseq": {/a \
|
38 |
+
\ "Viet_Model": { \
|
39 |
+
\ "lang": "vie", \
|
40 |
+
\ "repo": "drewThomasson/fineTunedTTSModels", \
|
41 |
+
\ "sub": "Viet-xtts-v2", \
|
42 |
+
\ "voice": os.path.abspath(os.path.join("voices", "eng", "adult", "male", "BobRoss_24khz.wav")) \
|
43 |
+
\ }, \
|
44 |
+
' lib/conf.py
|
45 |
|
46 |
|
47 |
# Expose the required port
|