deepakaiplanet commited on
Commit
9fb3859
·
verified ·
1 Parent(s): 3182a91

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -31,11 +31,11 @@ with gr.Blocks() as demo:
31
  bubble_full_width=False,
32
  )
33
 
34
- chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], 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
 
 
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