Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -527,8 +527,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo: # START of the block
|
|
527 |
# Attach click handler *inside* the block
|
528 |
fastsam_button_all.click(
|
529 |
run_fastsam_segmentation,
|
530 |
-
inputs=[
|
531 |
-
outputs=[
|
532 |
)
|
533 |
# ... FastSAM Everything examples ...
|
534 |
|
|
|
527 |
# Attach click handler *inside* the block
|
528 |
fastsam_button_all.click(
|
529 |
run_fastsam_segmentation,
|
530 |
+
inputs=[fastsam_input_image_all, fastsam_conf_all, fastsam_iou_all], # Correct list of inputs
|
531 |
+
outputs=[fastsam_output_image_all, fastsam_status_all]
|
532 |
)
|
533 |
# ... FastSAM Everything examples ...
|
534 |
|