Spaces:
Sleeping
Sleeping
Commit ·
8274cbb
1
Parent(s): 74e77a6
Updated model path and added .keras file
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import numpy as np
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Load the model
|
| 7 |
-
model = tf.keras.models.load_model("
|
| 8 |
|
| 9 |
# Preprocessing
|
| 10 |
IMG_SIZE = (512, 512)
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Load the model
|
| 7 |
+
model = tf.keras.models.load_model("SharpeningModel_512_30Epochs.keras", compile=False)
|
| 8 |
|
| 9 |
# Preprocessing
|
| 10 |
IMG_SIZE = (512, 512)
|