Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
import tensorflow as tf
|
6 |
|
7 |
# Load the model
|
8 |
-
model = tf.keras.models.load_model('model_CNN')
|
9 |
|
10 |
# Preprocess the image
|
11 |
def preprocess_image(image):
|
|
|
5 |
import tensorflow as tf
|
6 |
|
7 |
# Load the model
|
8 |
+
model = tf.keras.models.load_model('model_CNN.h5')
|
9 |
|
10 |
# Preprocess the image
|
11 |
def preprocess_image(image):
|