Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -10
Dockerfile
CHANGED
@@ -33,16 +33,8 @@ 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 |
-
\ "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
|
48 |
EXPOSE 7860
|
|
|
33 |
#Install the vietnamese coqui-tts
|
34 |
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
35 |
|
36 |
+
# Remove vietnamese from the xtts list
|
37 |
+
RUN sed -i '/"vie": "vi",/d' /path/to/lib/lang.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
# Expose the required port
|
40 |
EXPOSE 7860
|