Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,8 @@ folder_path = 'x_test'
|
|
30 |
|
31 |
y_pred = []
|
32 |
|
33 |
-
def predict(
|
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 |
|