Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import tensorflow as tf
|
|
| 5 |
model = from_pretrained_keras("araeynn/e")
|
| 6 |
|
| 7 |
def image_classifier(inp):
|
| 8 |
-
inp.save("
|
| 9 |
-
sunflower_path = "
|
| 10 |
img = tf.keras.utils.load_img(
|
| 11 |
sunflower_path, target_size=(img_height, img_width)
|
| 12 |
)
|
|
|
|
| 5 |
model = from_pretrained_keras("araeynn/e")
|
| 6 |
|
| 7 |
def image_classifier(inp):
|
| 8 |
+
inp.save("why.png")
|
| 9 |
+
sunflower_path = "why.png"
|
| 10 |
img = tf.keras.utils.load_img(
|
| 11 |
sunflower_path, target_size=(img_height, img_width)
|
| 12 |
)
|