pemujo commited on
Commit
f4f8db0
·
1 Parent(s): 3ac305a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -71,11 +71,10 @@ images_means = {148.5175: '1205045288117020016.npy',
71
  def predict(ash_image, model=model):
72
  #label = np.load(label_image)
73
  # ash_image = np.load('images/552609781892851211.npy')
74
- print(images_means)
75
- print(ash_image)
76
  im = np.asarray(Image.open(ash_image))
77
  im_mean = round(im.mean(),4)
78
- print(im_mean)
79
  if im_mean in images_means:
80
  im = np.load('numpy_files/' + images_means[im_mean])
81
 
 
71
  def predict(ash_image, model=model):
72
  #label = np.load(label_image)
73
  # ash_image = np.load('images/552609781892851211.npy')
74
+
 
75
  im = np.asarray(Image.open(ash_image))
76
  im_mean = round(im.mean(),4)
77
+
78
  if im_mean in images_means:
79
  im = np.load('numpy_files/' + images_means[im_mean])
80