Spaces:
Sleeping
Sleeping
deepakaiplanet
commited on
Commit
•
62b78a1
1
Parent(s):
34fd011
Update run.py
Browse files
run.py
CHANGED
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
|
|
35 |
|
36 |
chat_msg = chat_input.submit(add_message, [chatbot, chat_input], [chatbot, chat_input])
|
37 |
bot_msg = chat_msg.then(bot, chatbot, chatbot, api_name="bot_response")
|
38 |
-
|
39 |
|
40 |
chatbot.like(print_like_dislike, None, None)
|
41 |
|
|
|
35 |
|
36 |
chat_msg = chat_input.submit(add_message, [chatbot, chat_input], [chatbot, chat_input])
|
37 |
bot_msg = chat_msg.then(bot, chatbot, chatbot, api_name="bot_response")
|
38 |
+
bot_msg.then(None, [chat_input])
|
39 |
|
40 |
chatbot.like(print_like_dislike, None, None)
|
41 |
|