subhuatharva commited on
Commit
828ae67
·
verified ·
1 Parent(s): c28bf1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(name)
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)