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

Update Dockerfile

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