Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import tensorflow as tf
|
|
| 4 |
import cv2
|
| 5 |
|
| 6 |
# Load your trained Keras model
|
| 7 |
-
model = tf.keras.models.load_model("
|
| 8 |
|
| 9 |
# Image preprocessing function (same as used during training)
|
| 10 |
def preprocess_image(img):
|
|
|
|
| 4 |
import cv2
|
| 5 |
|
| 6 |
# Load your trained Keras model
|
| 7 |
+
model = tf.keras.models.load_model("unet_mask_segmentation.h5")
|
| 8 |
|
| 9 |
# Image preprocessing function (same as used during training)
|
| 10 |
def preprocess_image(img):
|