Update app.py
Browse files
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"],
|
| 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")
|