rahul7star commited on
Commit
a905a0e
·
verified ·
1 Parent(s): 57a1838

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,7 +61,8 @@ with gr.Blocks() as demo:
61
  send_btn = gr.Button("Send")
62
  clear_btn = gr.Button("Clear Chat")
63
  with gr.Column():
64
- chatbot = gr.Chatbot(type="tuple") # Keep legacy tuple format
 
65
 
66
  state = gr.State([])
67
 
 
61
  send_btn = gr.Button("Send")
62
  clear_btn = gr.Button("Clear Chat")
63
  with gr.Column():
64
+ # Use 'tuples' for legacy list-of-lists format
65
+ chatbot = gr.Chatbot(type="tuples")
66
 
67
  state = gr.State([])
68