Olivier-Truong commited on
Commit
ee41509
1 Parent(s): 74d134e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,7 +10,9 @@ from TTS.api import TTS
10
  model_names = TTS().list_models()
11
  print(model_names.__dict__)
12
  print(model_names.__dir__())
13
- m = model_names[0]
 
 
14
 
15
  tts = TTS(m, gpu=False)
16
  tts.to("cpu") # no GPU or Amd
 
10
  model_names = TTS().list_models()
11
  print(model_names.__dict__)
12
  print(model_names.__dir__())
13
+ model_name = "tts_models/multilingual/multi-dataset/xtts_v2"
14
+ m = ModelManager().download_model(model_name)
15
+ #m = model_names[0]
16
 
17
  tts = TTS(m, gpu=False)
18
  tts.to("cpu") # no GPU or Amd