Nekochu commited on
Commit
31d857a
·
1 Parent(s): 59b9b05

Pin Chatbot to tuples format with explicit empty value (fixes api_info schema crash)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -325,7 +325,7 @@ css = """
325
  with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
326
  with gr.Row():
327
  with gr.Column(scale=4):
328
- chatbot = gr.Chatbot(elem_id="chatbot")
329
 
330
  with gr.Row(elem_id="input-row"):
331
  msg = gr.Textbox(
 
325
  with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
326
  with gr.Row():
327
  with gr.Column(scale=4):
328
+ chatbot = gr.Chatbot(value=[], elem_id="chatbot", type="tuples")
329
 
330
  with gr.Row(elem_id="input-row"):
331
  msg = gr.Textbox(