emilios commited on
Commit
cb472b7
1 Parent(s): 5b573a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import cv2
3
 
4
 
5
  def inference(img):
6
- my_result = cv2.erode(img,(25,25)).dilate(img,(25,25))
 
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/