Spaces:
Runtime error
Runtime error
Commit
·
6c9b99c
1
Parent(s):
2d4e7ec
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ img_size = 28
|
|
8 |
model = from_pretrained_keras("keras-io/keras-reptile")
|
9 |
|
10 |
def read_image(image):
|
11 |
-
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
12 |
image = tf.image.resize(images=image, size=[img_size, img_size])
|
13 |
return image
|
14 |
|
|
|
8 |
model = from_pretrained_keras("keras-io/keras-reptile")
|
9 |
|
10 |
def read_image(image):
|
11 |
+
#image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
12 |
image = tf.image.resize(images=image, size=[img_size, img_size])
|
13 |
return image
|
14 |
|