Merge branch 'main' of https://huggingface.co/spaces/zuaird/arabic-numeral-classification
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import tensorflow as tf
|
3 |
import numpy as np
|
4 |
|
5 |
-
model = tf.keras.models.load_model("mymodel
|
6 |
|
7 |
def predict(img):
|
8 |
z = tf.keras.preprocessing.image.img_to_array(img)
|
|
|
2 |
import tensorflow as tf
|
3 |
import numpy as np
|
4 |
|
5 |
+
model = tf.keras.models.load_model("mymodel/mymodel")
|
6 |
|
7 |
def predict(img):
|
8 |
z = tf.keras.preprocessing.image.img_to_array(img)
|