Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def chatbot(user_input):
|
|
| 59 |
|
| 60 |
# Gradio UI with chat history
|
| 61 |
with gr.Blocks() as demo:
|
| 62 |
-
chatbot_ui = gr.Chatbot(type="messages")
|
| 63 |
user_input = gr.Textbox(placeholder="Ask about latest events, news, or anything...")
|
| 64 |
submit = gr.Button("Ask")
|
| 65 |
|
|
|
|
| 59 |
|
| 60 |
# Gradio UI with chat history
|
| 61 |
with gr.Blocks() as demo:
|
| 62 |
+
chatbot_ui = gr.Chatbot(type="messages", autoscroll=True)
|
| 63 |
user_input = gr.Textbox(placeholder="Ask about latest events, news, or anything...")
|
| 64 |
submit = gr.Button("Ask")
|
| 65 |
|