Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def one_hot_decoding(labels):
|
|
53 |
return true_labels
|
54 |
|
55 |
def model_output(image):
|
56 |
-
image = cv2.imread(
|
57 |
PIL_image = Image.fromarray(image.astype('uint8'), 'RGB')
|
58 |
|
59 |
img_size = (224,224)
|
|
|
53 |
return true_labels
|
54 |
|
55 |
def model_output(image):
|
56 |
+
image = cv2.imread(image)
|
57 |
PIL_image = Image.fromarray(image.astype('uint8'), 'RGB')
|
58 |
|
59 |
img_size = (224,224)
|