doevent commited on
Commit
dac3350
1 Parent(s): ce520dc

update model

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,9 +7,10 @@ import gradio as gr
7
  from TTS.api import TTS
8
 
9
  model_names = TTS().list_models()
10
- m = model_names[0]
11
  print(model_names)
12
  print(os.system("pip show TTS"))
 
13
  tts = TTS(m, gpu=False)
14
  tts.to("cpu") # no GPU or Amd
15
  #tts.to("cuda") # cuda only
 
7
  from TTS.api import TTS
8
 
9
  model_names = TTS().list_models()
10
+ m = model_names[1]
11
  print(model_names)
12
  print(os.system("pip show TTS"))
13
+ print(f"Model: {m}")
14
  tts = TTS(m, gpu=False)
15
  tts.to("cpu") # no GPU or Amd
16
  #tts.to("cuda") # cuda only