MaykaGR commited on
Commit
9ddb0f5
verified
1 Parent(s): 1e3f5f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,8 +46,8 @@ with gr.Blocks(theme=gr.themes.Ocean(primary_hue="pink", neutral_hue="indigo", f
46
 
47
  sample = TTSHubInterface.get_model_input(task, text)
48
  wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)
49
- ipd.Audio(wav, rate=rate)
50
- return None
51
 
52
 
53
  button.click(describir, [textbox], output)
 
46
 
47
  sample = TTSHubInterface.get_model_input(task, text)
48
  wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)
49
+
50
+ return ipd.Audio(wav, rate=rate)
51
 
52
 
53
  button.click(describir, [textbox], output)