Spaces:
Sleeping
Sleeping
Update app.py
Browse files[fix] bind model_selector for box prompt
app.py
CHANGED
|
@@ -277,7 +277,7 @@ with gr.Blocks(title="交互式图像组分割系统") as demo:
|
|
| 277 |
|
| 278 |
mask_btn.click(
|
| 279 |
generate_mask,
|
| 280 |
-
inputs=[img_input, coord_store],
|
| 281 |
outputs=mask_output
|
| 282 |
)
|
| 283 |
|
|
|
|
| 277 |
|
| 278 |
mask_btn.click(
|
| 279 |
generate_mask,
|
| 280 |
+
inputs=[model_selector, img_input, coord_store],
|
| 281 |
outputs=mask_output
|
| 282 |
)
|
| 283 |
|