Spaces:
Runtime error
Runtime error
Commit
·
28585d6
1
Parent(s):
84b12cb
correct replay bug
Browse files
app.py
CHANGED
|
@@ -868,6 +868,9 @@ def HMI_Wait():
|
|
| 868 |
return [gr.update(visible=True), gr.update(visible=False)]
|
| 869 |
|
| 870 |
|
|
|
|
|
|
|
|
|
|
| 871 |
with gr.Blocks() as demo:
|
| 872 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
| 873 |
# main = gr.ChatInterface(
|
|
@@ -949,6 +952,7 @@ with gr.Blocks() as demo:
|
|
| 949 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
| 950 |
agentchoice.change(SetAgent, agentchoice, None)
|
| 951 |
frash_logs.click(read_logs, None, logs)
|
|
|
|
| 952 |
# demo.load(read_logs, None, logs, every=1)
|
| 953 |
|
| 954 |
|
|
|
|
| 868 |
return [gr.update(visible=True), gr.update(visible=False)]
|
| 869 |
|
| 870 |
|
| 871 |
+
def ClearAudio():
|
| 872 |
+
return []
|
| 873 |
+
|
| 874 |
with gr.Blocks() as demo:
|
| 875 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
| 876 |
# main = gr.ChatInterface(
|
|
|
|
| 952 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
| 953 |
agentchoice.change(SetAgent, agentchoice, None)
|
| 954 |
frash_logs.click(read_logs, None, logs)
|
| 955 |
+
voice_output.end(None, voice_output)
|
| 956 |
# demo.load(read_logs, None, logs, every=1)
|
| 957 |
|
| 958 |
|