Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def create_segmentation(mask_np_list):
|
|
| 36 |
return segmentation
|
| 37 |
|
| 38 |
|
| 39 |
-
|
| 40 |
def run_segmentation_wrapper(image):
|
| 41 |
try:
|
| 42 |
image, mask_np_list,mask_label_list = run_segmentation(image)
|
|
|
|
| 36 |
return segmentation
|
| 37 |
|
| 38 |
|
| 39 |
+
@spaces.GPU
|
| 40 |
def run_segmentation_wrapper(image):
|
| 41 |
try:
|
| 42 |
image, mask_np_list,mask_label_list = run_segmentation(image)
|