Chia Woon Yap commited on
Commit
8a725e1
·
verified ·
1 Parent(s): 83d0766

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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")