hb-setosys
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from tensorflow.keras.applications.resnet50 import preprocess_input
|
|
7 |
from tensorflow.keras.utils import load_img, img_to_array
|
8 |
|
9 |
# Load your trained model
|
10 |
-
model = tf.keras.models.load_model("denis_mnist_cnn_model_resnet50_v1.h5") # Ensure you upload this file to Hugging Face Spaces
|
11 |
|
12 |
# Define a function to preprocess the image
|
13 |
def preprocess_image(image):
|
|
|
7 |
from tensorflow.keras.utils import load_img, img_to_array
|
8 |
|
9 |
# Load your trained model
|
10 |
+
model = tf.keras.models.load_model("denis_mnist_cnn_model_resnet50_v1.h5") # Ensure you upload this file to Hugging Face Spaces
|
11 |
|
12 |
# Define a function to preprocess the image
|
13 |
def preprocess_image(image):
|