Spaces:
Sleeping
Sleeping
feat(api): expose MedSAM chained call as named endpoint /medsam for remote invocation
Browse files
app.py
CHANGED
@@ -827,6 +827,7 @@ with gr.Blocks(
|
|
827 |
fn=analyze_with_medsam,
|
828 |
inputs=[result_output, image_input, include_raw_masks_cb, bboxes_tb, points_tb],
|
829 |
outputs=[result_output, overlay_output],
|
|
|
830 |
)
|
831 |
|
832 |
# Add some examples
|
|
|
827 |
fn=analyze_with_medsam,
|
828 |
inputs=[result_output, image_input, include_raw_masks_cb, bboxes_tb, points_tb],
|
829 |
outputs=[result_output, overlay_output],
|
830 |
+
api_name="/medsam"
|
831 |
)
|
832 |
|
833 |
# Add some examples
|