Spaces:
Running on Zero
Running on Zero
Pin Chatbot to tuples format with explicit empty value (fixes api_info schema crash)
Browse files
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(
|