Update model/model.py
Browse files- model/model.py +1 -1
model/model.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np
|
|
4 |
import os
|
5 |
import tensorflow as tf
|
6 |
|
7 |
-
model = keras.
|
8 |
|
9 |
def predict(image_path):
|
10 |
image = Image.fromarray(image_path)
|
|
|
4 |
import os
|
5 |
import tensorflow as tf
|
6 |
|
7 |
+
model = keras.saving.load_model('model/model.keras')
|
8 |
|
9 |
def predict(image_path):
|
10 |
image = Image.fromarray(image_path)
|