Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,10 @@ from huggingface_hub import from_pretrained_keras
|
|
2 |
import gradio as gr
|
3 |
import tensorflow as tf
|
4 |
|
5 |
-
model = from_pretrained_keras("araeynn/
|
6 |
|
7 |
def image_classifier(inp):
|
8 |
-
class_names = ["
|
9 |
inp.save("why.png")
|
10 |
sunflower_path = "why.png"
|
11 |
img = tf.keras.utils.load_img(
|
|
|
2 |
import gradio as gr
|
3 |
import tensorflow as tf
|
4 |
|
5 |
+
model = from_pretrained_keras("araeynn/validation_model")
|
6 |
|
7 |
def image_classifier(inp):
|
8 |
+
class_names = ["0", "1"]
|
9 |
inp.save("why.png")
|
10 |
sunflower_path = "why.png"
|
11 |
img = tf.keras.utils.load_img(
|