Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1680,6 +1680,10 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
1680 |
clear_button = gr.Button("Clear")
|
1681 |
clear_button.click(lambda: [None, None], outputs=[chat_input, state])
|
1682 |
|
|
|
|
|
|
|
|
|
1683 |
# HTML component for displaying the dynamic table
|
1684 |
table_output = gr.HTML()
|
1685 |
|
|
|
1680 |
clear_button = gr.Button("Clear")
|
1681 |
clear_button.click(lambda: [None, None], outputs=[chat_input, state])
|
1682 |
|
1683 |
+
def stop_audio():
|
1684 |
+
audio_output.stop()
|
1685 |
+
return None
|
1686 |
+
|
1687 |
# HTML component for displaying the dynamic table
|
1688 |
table_output = gr.HTML()
|
1689 |
|