Update app.py
Browse files
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
|
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(
|