Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
50 |
-
return
|
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)
|