fffiloni commited on
Commit
6c337f4
·
1 Parent(s): 7b60e38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(css=css) as demo:
104
  with gr.Column(elem_id="col-container"):
105
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, bubble_full_width=False, avatar_images=[None, "santa_avatar.png"])
106
  msg=gr.Textbox()
107
- msg.submit(generate, [msg, chatbot], [msg, chatbot])
108
 
109
  """
110
  gr.ChatInterface(
 
104
  with gr.Column(elem_id="col-container"):
105
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, bubble_full_width=False, avatar_images=[None, "santa_avatar.png"])
106
  msg=gr.Textbox()
107
+ msg.submit(generate, [msg], [chatbot])
108
 
109
  """
110
  gr.ChatInterface(