Spaces:
Build error
Build error
Update app.py
Browse files
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,
|
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,
|
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
|