weijiawu commited on
Commit
ab8d7ff
1 Parent(s): 9c026e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -266,13 +266,13 @@ with gr.Blocks(
266
 
267
  submit_button_text.click(
268
  chat_with_points,
269
- [chat_input, click_state, state, mask_save_path,image_input],
270
  [chatbot, state, image_input]
271
  )
272
 
273
 
274
  image_input.upload(upload_callback,[image_input, state], [state, origin_image, click_state, image_input])
275
- chat_input.submit(chat_with_points, [chat_input, click_state, state, mask_save_path,image_input], [chatbot, state, image_input])
276
  example_image.change(upload_callback,[example_image, state], [state, origin_image, click_state, image_input])
277
 
278
  # select coordinate
 
266
 
267
  submit_button_text.click(
268
  chat_with_points,
269
+ [chat_input, click_state, state, mask_save_path,origin_image],
270
  [chatbot, state, image_input]
271
  )
272
 
273
 
274
  image_input.upload(upload_callback,[image_input, state], [state, origin_image, click_state, image_input])
275
+ chat_input.submit(chat_with_points, [chat_input, click_state, state, mask_save_path,origin_image], [chatbot, state, image_input])
276
  example_image.change(upload_callback,[example_image, state], [state, origin_image, click_state, image_input])
277
 
278
  # select coordinate