piyushdev commited on
Commit
24a7ba2
·
verified ·
1 Parent(s): 5eeb695

Updated Gradio_UI.py

Browse files

Fixed the issue of unexpected datatype

Files changed (1) hide show
  1. Gradio_UI.py +1 -0
Gradio_UI.py CHANGED
@@ -277,6 +277,7 @@ class GradioUI:
277
  file_uploads_log = gr.State([])
278
  chatbot = gr.Chatbot(
279
  label="Agent",
 
280
  render_markdown=True,
281
  avatar_images=(
282
  None,
 
277
  file_uploads_log = gr.State([])
278
  chatbot = gr.Chatbot(
279
  label="Agent",
280
+ type="messages", # FIX: Re-added this crucial parameter
281
  render_markdown=True,
282
  avatar_images=(
283
  None,