Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,7 @@ def image_app():
|
|
| 70 |
],
|
| 71 |
|
| 72 |
],
|
|
|
|
| 73 |
inputs=[
|
| 74 |
seg_automask_image_file,
|
| 75 |
seg_automask_image_model_type,
|
|
@@ -147,6 +148,7 @@ def video_app():
|
|
| 147 |
0,
|
| 148 |
],
|
| 149 |
],
|
|
|
|
| 150 |
inputs=[
|
| 151 |
seg_automask_video_file,
|
| 152 |
seg_automask_video_model_type,
|
|
@@ -279,6 +281,7 @@ def sahi_app():
|
|
| 279 |
0.2,
|
| 280 |
],
|
| 281 |
],
|
|
|
|
| 282 |
inputs=[
|
| 283 |
sahi_image_file,
|
| 284 |
sahi_autoseg_model_type,
|
|
|
|
| 70 |
],
|
| 71 |
|
| 72 |
],
|
| 73 |
+
fn=automask_image_app,
|
| 74 |
inputs=[
|
| 75 |
seg_automask_image_file,
|
| 76 |
seg_automask_image_model_type,
|
|
|
|
| 148 |
0,
|
| 149 |
],
|
| 150 |
],
|
| 151 |
+
fn=automask_video_app,
|
| 152 |
inputs=[
|
| 153 |
seg_automask_video_file,
|
| 154 |
seg_automask_video_model_type,
|
|
|
|
| 281 |
0.2,
|
| 282 |
],
|
| 283 |
],
|
| 284 |
+
fn=sahi_autoseg_app,
|
| 285 |
inputs=[
|
| 286 |
sahi_image_file,
|
| 287 |
sahi_autoseg_model_type,
|