Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ classifier = tf.keras.Sequential([hub.KerasLayer(TF_MODEL_URL,
|
|
17 |
input_shape=IMAGE_SHAPE+(3,)
|
18 |
)])
|
19 |
|
20 |
-
|
21 |
def classify_image(image):
|
22 |
img = image/255.0
|
23 |
img = rearrange(img, 'h w c -> 1 h w c')
|
|
|
17 |
input_shape=IMAGE_SHAPE+(3,)
|
18 |
)])
|
19 |
|
|
|
20 |
def classify_image(image):
|
21 |
img = image/255.0
|
22 |
img = rearrange(img, 'h w c -> 1 h w c')
|