Spaces:
Sleeping
Sleeping
Chia Woon Yap
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -363,7 +363,8 @@ def tutor_ai_chatbot():
|
|
| 363 |
with gr.Tab("AI Chatbot"):
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column(scale=3):
|
| 366 |
-
chatbot = gr.Chatbot(height=500) # Chatbot display area
|
|
|
|
| 367 |
with gr.Row():
|
| 368 |
msg = gr.Textbox(label="Ask a question", placeholder="Type your question here...")
|
| 369 |
submit = gr.Button("Send")
|
|
|
|
| 363 |
with gr.Tab("AI Chatbot"):
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column(scale=3):
|
| 366 |
+
#chatbot = gr.Chatbot(height=500) # Chatbot display area
|
| 367 |
+
chatbot = gr.Chatbot(height=500, type="messages")
|
| 368 |
with gr.Row():
|
| 369 |
msg = gr.Textbox(label="Ask a question", placeholder="Type your question here...")
|
| 370 |
submit = gr.Button("Send")
|