Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -371,7 +371,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
371 |
else:
|
372 |
pass
|
373 |
|
374 |
-
image = cv.imread(
|
375 |
image = cv.resize(image, (224, 224))
|
376 |
image_array = np.asarray(image)
|
377 |
image_data = cv.resize(imageData, (224, 224))
|
|
|
371 |
else:
|
372 |
pass
|
373 |
|
374 |
+
image = cv.imread(filename)
|
375 |
image = cv.resize(image, (224, 224))
|
376 |
image_array = np.asarray(image)
|
377 |
image_data = cv.resize(imageData, (224, 224))
|