Spaces:
Running
on
Zero
Running
on
Zero
Fix error:duplicated outputs
Browse files
app.py
CHANGED
|
@@ -158,8 +158,8 @@ with gr.Blocks(title="😻 KaniTTS - Text to Speech", theme=gr.themes.Default())
|
|
| 158 |
gr.Examples(
|
| 159 |
examples=examples,
|
| 160 |
inputs=[text_input, model_dropdown],
|
| 161 |
-
|
| 162 |
-
|
| 163 |
cache_examples=True,
|
| 164 |
)
|
| 165 |
|
|
|
|
| 158 |
gr.Examples(
|
| 159 |
examples=examples,
|
| 160 |
inputs=[text_input, model_dropdown],
|
| 161 |
+
fn=lambda t=text_input: play_demo(t),
|
| 162 |
+
outputs=[audio_output, time_report_output],
|
| 163 |
cache_examples=True,
|
| 164 |
)
|
| 165 |
|