Spaces:
Runtime error
Runtime error
DiamondYin
commited on
Commit
•
8d8fa10
1
Parent(s):
e8da721
Update app.py
Browse files
app.py
CHANGED
@@ -119,14 +119,12 @@ with gr.Blocks(title="Your Assistance Pal!") as demo:
|
|
119 |
button = gr.Button(value="Send")
|
120 |
|
121 |
msg.submit(get_chat_history, [msg, chatbot], [msg, chatbot]
|
122 |
-
).then(update_img, outputs=[""]#assistant_character
|
123 |
).then(get_response, [chatbot, audio_input], [chatbot, output_html]
|
124 |
-
)
|
125 |
|
126 |
button.click(get_chat_history, [msg, chatbot], [msg, chatbot]
|
127 |
-
).then(update_img, outputs=[""]#assistant_character
|
128 |
).then(get_response, [chatbot, audio_input], [chatbot, output_html]
|
129 |
-
)
|
130 |
|
131 |
# buzz_usr_proc.start()
|
132 |
|
|
|
119 |
button = gr.Button(value="Send")
|
120 |
|
121 |
msg.submit(get_chat_history, [msg, chatbot], [msg, chatbot]
|
|
|
122 |
).then(get_response, [chatbot, audio_input], [chatbot, output_html]
|
123 |
+
)
|
124 |
|
125 |
button.click(get_chat_history, [msg, chatbot], [msg, chatbot]
|
|
|
126 |
).then(get_response, [chatbot, audio_input], [chatbot, output_html]
|
127 |
+
)
|
128 |
|
129 |
# buzz_usr_proc.start()
|
130 |
|