Spaces:
Runtime error
Runtime error
Initial Commit
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def inference(image, input_label, model_choice):
|
|
| 38 |
mask = masks[0]
|
| 39 |
image2 = image.copy()
|
| 40 |
image2[mask, 0] = 255
|
| 41 |
-
image2[
|
| 42 |
return image2
|
| 43 |
|
| 44 |
|
|
|
|
| 38 |
mask = masks[0]
|
| 39 |
image2 = image.copy()
|
| 40 |
image2[mask, 0] = 255
|
| 41 |
+
image2[y-10:y+10, x-10:x+10, 2] = 255
|
| 42 |
return image2
|
| 43 |
|
| 44 |
|