alexkueck commited on
Commit
b882d5a
1 Parent(s): 2804eef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -445,11 +445,11 @@ with gr.Blocks() as demo:
445
  )
446
  btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
447
 
448
- txt_msg = txt.submit(invoke, [chatbot_stream, prompt], [chatbot_stream, prompt], queue=False).then(bot, chatbot_stream, chatbot_stream, api_name="bot_response")
449
  txt_msg.then(lambda: gr.Textbox(interactive=True), None, [prompt], queue=False)
450
- file_msg = btn.upload(add_file, [chatbot_stream, btn], [chatbot_stream], queue=False).then(bot, chatbot_stream, chatbot_stream)
451
 
452
- chatbot_stream.like(print_like_dislike, None, None)
453
 
454
 
455
  """
 
445
  )
446
  btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
447
 
448
+ txt_msg = txt.submit(invoke, [chat_interface_stream, prompt], [chat_interface_stream, prompt], queue=False).then(bot, chat_interface_stream, chat_interface_stream, api_name="bot_response")
449
  txt_msg.then(lambda: gr.Textbox(interactive=True), None, [prompt], queue=False)
450
+ file_msg = btn.upload(add_file, [chat_interface_stream, btn], [chat_interface_stream], queue=False).then(bot, chat_interface_stream, chat_interface_stream)
451
 
452
+ #chatbot_stream.like(print_like_dislike, None, None)
453
 
454
 
455
  """