Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ LENGTH=512 #length of the square area displaying/editing images
|
|
17 |
TRANSPARENCY = 150 # transparency of the mask in display
|
18 |
|
19 |
|
20 |
-
@spaces.GPU
|
21 |
def add_mask(mask_np_list_updated, mask_label_list):
|
22 |
mask_new = np.zeros_like(mask_np_list_updated[0])
|
23 |
mask_np_list_updated.append(mask_new)
|
|
|
17 |
TRANSPARENCY = 150 # transparency of the mask in display
|
18 |
|
19 |
|
|
|
20 |
def add_mask(mask_np_list_updated, mask_label_list):
|
21 |
mask_new = np.zeros_like(mask_np_list_updated[0])
|
22 |
mask_np_list_updated.append(mask_new)
|