drewThomasson commited on
Commit
1703820
·
verified ·
1 Parent(s): 578385f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # 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
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