Update app.py
Browse files
app.py
CHANGED
@@ -67,9 +67,10 @@ with gr.Blocks() as demo:
|
|
67 |
msg.submit(user, [msg], [chatbot]).then(
|
68 |
lambda user_response: bot(user_response[0]), chatbot
|
69 |
)
|
70 |
-
feedback.
|
71 |
clear.click(lambda: None, None, chatbot, queue=False)
|
72 |
|
|
|
73 |
if __name__ == "__main__":
|
74 |
run_chat_ui()
|
75 |
|
|
|
67 |
msg.submit(user, [msg], [chatbot]).then(
|
68 |
lambda user_response: bot(user_response[0]), chatbot
|
69 |
)
|
70 |
+
feedback.change(process_feedback, queue=True)
|
71 |
clear.click(lambda: None, None, chatbot, queue=False)
|
72 |
|
73 |
+
|
74 |
if __name__ == "__main__":
|
75 |
run_chat_ui()
|
76 |
|