Pijush2023 commited on
Commit
880b597
·
verified ·
1 Parent(s): 936c67a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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