Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,8 @@ import cv2
|
|
| 3 |
|
| 4 |
|
| 5 |
def inference(img):
|
| 6 |
-
my_result = cv2.erode(img,(
|
|
|
|
| 7 |
return my_result
|
| 8 |
|
| 9 |
# For information on Interfaces, head to https://gradio.app/docs/
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
def inference(img):
|
| 6 |
+
my_result = cv2.erode(img,(1,1))
|
| 7 |
+
my_result = cv2.dilate(my_result,(1,1))
|
| 8 |
return my_result
|
| 9 |
|
| 10 |
# For information on Interfaces, head to https://gradio.app/docs/
|