Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from PIL import Image
|
|
| 11 |
|
| 12 |
# Paths
|
| 13 |
CUSTOM_MODEL_PATH = "model.h5" # optional: full Keras model
|
| 14 |
-
MESO_WEIGHTS_PATH = "Meso4_DF" # your weights-only file
|
| 15 |
LABELS = ["real", "fake"] # index 0..1 (we'll compute both scores)
|
| 16 |
|
| 17 |
# Globals
|
|
|
|
| 11 |
|
| 12 |
# Paths
|
| 13 |
CUSTOM_MODEL_PATH = "model.h5" # optional: full Keras model
|
| 14 |
+
MESO_WEIGHTS_PATH = "weights/Meso4_DF.weights.h5" # your weights-only file
|
| 15 |
LABELS = ["real", "fake"] # index 0..1 (we'll compute both scores)
|
| 16 |
|
| 17 |
# Globals
|