hanszhu commited on
Commit
594a845
·
1 Parent(s): 12b213c

feat(api): expose MedSAM chained call as named endpoint /medsam for remote invocation

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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