Update app.py
Browse files
app.py
CHANGED
@@ -230,13 +230,13 @@ with gr.Blocks(css="style.css") as demo:
|
|
230 |
live=True
|
231 |
)
|
232 |
|
233 |
-
clear_button = gr.Button("Clear")
|
234 |
-
clear_button.click(
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
)
|
240 |
|
241 |
voice_assistant.select(fn=voice_assistant_tab, inputs=None, outputs=description)
|
242 |
speech_translation.select(fn=speech_translation_tab, inputs=None, outputs=description)
|
|
|
230 |
live=True
|
231 |
)
|
232 |
|
233 |
+
# clear_button = gr.Button("Clear")
|
234 |
+
# clear_button.click(
|
235 |
+
# fn=clear_history,
|
236 |
+
# inputs=[],
|
237 |
+
# outputs=[input, output, input_audio, output_audio],
|
238 |
+
# api_name="clear"
|
239 |
+
# )
|
240 |
|
241 |
voice_assistant.select(fn=voice_assistant_tab, inputs=None, outputs=description)
|
242 |
speech_translation.select(fn=speech_translation_tab, inputs=None, outputs=description)
|