Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,7 @@ def predict(ash_image, model=model):
|
|
| 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])
|
|
|
|
| 74 |
|
| 75 |
im = np.asarray(Image.open(ash_image))
|
| 76 |
im_mean = round(im.mean(),4)
|
| 77 |
+
print(im_mean)
|
| 78 |
|
| 79 |
if im_mean in images_means:
|
| 80 |
im = np.load('numpy_files/' + images_means[im_mean])
|