Spaces:
Running
Running
Martin Tomov
commited on
@spaces.GPU gsl_utils.py
Browse files- gsl_utils.py +1 -0
gsl_utils.py
CHANGED
|
@@ -63,6 +63,7 @@ def dilate_mask(mask, dilate_factor=15):
|
|
| 63 |
)
|
| 64 |
return mask
|
| 65 |
|
|
|
|
| 66 |
def gsl_process_image(image):
|
| 67 |
# numpy array
|
| 68 |
if not isinstance(image, np.ndarray):
|
|
|
|
| 63 |
)
|
| 64 |
return mask
|
| 65 |
|
| 66 |
+
@spaces.GPU
|
| 67 |
def gsl_process_image(image):
|
| 68 |
# numpy array
|
| 69 |
if not isinstance(image, np.ndarray):
|