wuhp commited on
Commit
a3af143
·
verified ·
1 Parent(s): d5d8755

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -111,7 +111,8 @@ with gr.Blocks() as demo:
111
  repo_name = gr.Textbox(label="New App (repo) name")
112
  start_btn = gr.Button("Start a new app")
113
  with gr.Column(scale=3):
114
- chatbot = gr.Chatbot()
 
115
  state = gr.State(value=None)
116
  logs_display = gr.Textbox(label="Operation Logs", interactive=False, lines=8)
117
  preview_iframe = gr.HTML("<p>No deployed app yet.</p>")
 
111
  repo_name = gr.Textbox(label="New App (repo) name")
112
  start_btn = gr.Button("Start a new app")
113
  with gr.Column(scale=3):
114
+ # Specify Chatbot type to avoid schema errors
115
+ chatbot = gr.Chatbot(type="messages")
116
  state = gr.State(value=None)
117
  logs_display = gr.Textbox(label="Operation Logs", interactive=False, lines=8)
118
  preview_iframe = gr.HTML("<p>No deployed app yet.</p>")