Spaces:
Runtime error
Runtime error
256x256 dumb-dumb
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ Either way, enjoy!
|
|
63 |
samples = ['yay.jpg', 'nay.jpg']
|
64 |
|
65 |
def preprocess(image):
|
66 |
-
image = tf.image.resize(image, [
|
67 |
img_array = tf.keras.utils.img_to_array(image)
|
68 |
img_array = tf.expand_dims(img_array, 0)
|
69 |
# image = np.array(image) / 255
|
|
|
63 |
samples = ['yay.jpg', 'nay.jpg']
|
64 |
|
65 |
def preprocess(image):
|
66 |
+
image = tf.image.resize(image, [256, 256])
|
67 |
img_array = tf.keras.utils.img_to_array(image)
|
68 |
img_array = tf.expand_dims(img_array, 0)
|
69 |
# image = np.array(image) / 255
|