Olivier-Truong commited on
Commit
a56b486
1 Parent(s): 45c7938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,11 +11,11 @@ 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
- print(m)
16
  #m = model_names[0]
17
 
18
- tts = TTS(m, gpu=False)
19
  tts.to("cpu") # no GPU or Amd
20
  #tts.to("cuda") # cuda only
21
 
 
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
+ #print(m)
16
  #m = model_names[0]
17
 
18
+ tts = TTS(model_name, gpu=False)
19
  tts.to("cpu") # no GPU or Amd
20
  #tts.to("cuda") # cuda only
21