Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks() as demo:
|
|
27 |
with gr.Column():
|
28 |
audio_output = gr.Audio(label="Output")
|
29 |
|
30 |
-
gr.Examples(
|
31 |
outputs=audio_output, cache_examples=True)
|
32 |
btn = gr.Button("Generate")
|
33 |
btn.click(inference, inputs=[audio_file,
|
|
|
27 |
with gr.Column():
|
28 |
audio_output = gr.Audio(label="Output")
|
29 |
|
30 |
+
gr.Examples(fn=inference, inputs=[audio_file, text_input],
|
31 |
outputs=audio_output, cache_examples=True)
|
32 |
btn = gr.Button("Generate")
|
33 |
btn.click(inference, inputs=[audio_file,
|