Spaces:
Runtime error
Runtime error
Update app.py
#1
by razyer - opened
app.py
CHANGED
|
@@ -96,9 +96,6 @@ def run_sam_api(image_url, box_coords):
|
|
| 96 |
|
| 97 |
return annotated_image
|
| 98 |
|
| 99 |
-
# ------------------------------
|
| 100 |
-
# 3. Gradio Interface (API Definition)
|
| 101 |
-
# ------------------------------
|
| 102 |
demo = gr.Interface(
|
| 103 |
fn=run_sam_api,
|
| 104 |
inputs=[
|
|
|
|
| 96 |
|
| 97 |
return annotated_image
|
| 98 |
|
|
|
|
|
|
|
|
|
|
| 99 |
demo = gr.Interface(
|
| 100 |
fn=run_sam_api,
|
| 101 |
inputs=[
|