Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def greet(image):
|
|
| 43 |
|
| 44 |
print(image.shape)
|
| 45 |
print(mask_pred.shape)
|
| 46 |
-
return mask_pred[0].numpy()
|
| 47 |
|
| 48 |
|
| 49 |
demo = gr.Interface(
|
|
|
|
| 43 |
|
| 44 |
print(image.shape)
|
| 45 |
print(mask_pred.shape)
|
| 46 |
+
return mask_pred[0, 0, :, :].numpy()
|
| 47 |
|
| 48 |
|
| 49 |
demo = gr.Interface(
|