Spaces:
Runtime error
Runtime error
Update app.py
#1
by
cybernatedArt
- opened
app.py
CHANGED
@@ -6,7 +6,7 @@ from tensorflow.keras.applications.resnet50 import ResNet50
|
|
6 |
from tensorflow.keras.applications.resnet50 import preprocess_input
|
7 |
from tensorflow.keras.models import load_model
|
8 |
|
9 |
-
model =
|
10 |
|
11 |
#function
|
12 |
def example(image):
|
|
|
6 |
from tensorflow.keras.applications.resnet50 import preprocess_input
|
7 |
from tensorflow.keras.models import load_model
|
8 |
|
9 |
+
model = tf.keras.models.load_model('model_2.h5')
|
10 |
|
11 |
#function
|
12 |
def example(image):
|