doevent commited on
Commit
83e8f64
1 Parent(s): cc8490d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -9,6 +9,7 @@ from TTS.api import TTS
9
  model_names = TTS().list_models()
10
  m = model_names[0]
11
  print(model_names)
 
12
  tts = TTS(m, gpu=False)
13
  tts.to("cpu") # no GPU or Amd
14
  #tts.to("cuda") # cuda only
@@ -254,5 +255,6 @@ gr.Interface(
254
  title=title,
255
  description=description,
256
  article=article,
 
257
  examples=examples,
258
- ).queue().launch(debug=True)
 
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
 
255
  title=title,
256
  description=description,
257
  article=article,
258
+ cache_examples=False,
259
  examples=examples,
260
+ ).queue().launch(debug=True, show_error=True)