Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ model = models.Sequential([
|
|
| 28 |
])
|
| 29 |
|
| 30 |
# ---- Load trained weights ----
|
| 31 |
-
model.load_weights("
|
| 32 |
|
| 33 |
# ---- Preprocess image ----
|
| 34 |
def preprocess(image: Image.Image):
|
|
|
|
| 28 |
])
|
| 29 |
|
| 30 |
# ---- Load trained weights ----
|
| 31 |
+
model.load_weights("model_weights.h5")
|
| 32 |
|
| 33 |
# ---- Preprocess image ----
|
| 34 |
def preprocess(image: Image.Image):
|