tykimos commited on
Commit
c707de6
1 Parent(s): 9ef4891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,9 +30,8 @@ folder_path = 'x_test'
30
 
31
  y_pred = []
32
 
33
- def predict(name):
34
 
35
- image = Image.open(fpath)
36
  size = (224, 224)
37
  image = ImageOps.fit(image, size, Image.ANTIALIAS)
38
 
 
30
 
31
  y_pred = []
32
 
33
+ def predict(image):
34
 
 
35
  size = (224, 224)
36
  image = ImageOps.fit(image, size, Image.ANTIALIAS)
37