Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
@@ -31,11 +31,11 @@ with gr.Blocks() as demo:
|
|
31 |
bubble_full_width=False,
|
32 |
)
|
33 |
|
34 |
-
chat_input = gr.
|
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(lambda: gr.MultimodalTextbox(interactive=True), None, [chat_input])
|
39 |
|
40 |
chatbot.like(print_like_dislike, None, None)
|
41 |
|
|
|
31 |
bubble_full_width=False,
|
32 |
)
|
33 |
|
34 |
+
chat_input = gr.Textbox(interactive=True, placeholder="Enter message or upload file...", show_label=False)
|
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(lambda: gr.MultimodalTextbox(interactive=True), None, [chat_input])
|
39 |
|
40 |
chatbot.like(print_like_dislike, None, None)
|
41 |
|