yukee1992 commited on
Commit
7c82066
·
verified ·
1 Parent(s): 30e7759

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -185,18 +185,18 @@ def load_tts_model(voice_style="default_female"):
185
  from TTS.api import TTS
186
 
187
  model_options = {
188
- "default_female": {
189
- "name": "tts_models/en/ljspeech/tacotron2-DDC",
190
- "description": "Tacotron2 - Default female voice",
191
- },
192
- "clear_male": {
193
- "name": "tts_models/en/ek1/tacotron2",
194
- "description": "Tacotron2 - Clear male voice",
195
- },
196
- "voice_clone": {
197
- "name": "tts_models/multilingual/multi-dataset/xtts_v2",
198
- "description": "XTTS v2 - Voice cloning supported",
199
- }
200
  }
201
 
202
  selected_model = model_options.get(voice_style, model_options["default_female"])
 
185
  from TTS.api import TTS
186
 
187
  model_options = {
188
+ "default_female": {
189
+ "name": "tts_models/en/ljspeech/tacotron2-DDC",
190
+ "description": "Tacotron2 - Default female voice",
191
+ },
192
+ "clear_male": {
193
+ "name": "tts_models/en/ljspeech/glow-tts",
194
+ "description": "Glow-TTS - Clear male voice",
195
+ },
196
+ "voice_clone": {
197
+ "name": "tts_models/multilingual/multi-dataset/your_tts",
198
+ "description": "YourTTS - Voice cloning supported",
199
+ }
200
  }
201
 
202
  selected_model = model_options.get(voice_style, model_options["default_female"])