Wanswan commited on
Commit
a230a41
·
verified ·
1 Parent(s): 2de0f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def init():
131
  return [{"role": "assistant", "content": WELCOME_MESSAGE_EN}], 0, "", [], False, 0
132
 
133
  with gr.Blocks() as demo:
134
- chatbot = gr.Chatbot(label="", avatar_images=["user_avatar.jpg", "humanlike_avatar.png"], bubble_full_width=False, height=500)
135
  with gr.Row():
136
  user_input = gr.Textbox(show_label=False, placeholder="Type your message here...", container=True, scale=10)
137
  send_btn = gr.Button(value="➤", elem_classes="send-btn")
 
131
  return [{"role": "assistant", "content": WELCOME_MESSAGE_EN}], 0, "", [], False, 0
132
 
133
  with gr.Blocks() as demo:
134
+ chatbot = gr.Chatbot(label="", avatar_images=["user_avatar.jpg", "humanlike_avatar.png"], height=500, type="messages")
135
  with gr.Row():
136
  user_input = gr.Textbox(show_label=False, placeholder="Type your message here...", container=True, scale=10)
137
  send_btn = gr.Button(value="➤", elem_classes="send-btn")