Updated Gradio_UI.py
Browse filesFixed the issue of unexpected datatype
- 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,
|