Dongxu Li commited on
Commit
27cca60
1 Parent(s): 243ae52
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -222,7 +222,7 @@ with gr.Blocks(
222
  # with gr.Row():
223
  with gr.Column(scale=1):
224
  chat_input = gr.Textbox(lines=2, label="Chat Input")
225
- chat_input.click(
226
  inference_chat,
227
  [
228
  image_input,
 
222
  # with gr.Row():
223
  with gr.Column(scale=1):
224
  chat_input = gr.Textbox(lines=2, label="Chat Input")
225
+ chat_input.submit(
226
  inference_chat,
227
  [
228
  image_input,