Spaces:
Build error
Build error
edited app.py (activated the model)
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import io
|
|
| 6 |
|
| 7 |
# Load your trained model
|
| 8 |
custom_objects = {'BatchNormalization': tf.keras.layers.BatchNormalization}
|
| 9 |
-
|
| 10 |
|
| 11 |
|
| 12 |
# Define class labels of the animals
|
|
|
|
| 6 |
|
| 7 |
# Load your trained model
|
| 8 |
custom_objects = {'BatchNormalization': tf.keras.layers.BatchNormalization}
|
| 9 |
+
model = tf.keras.models.load_model('ResNet152V2.h5')
|
| 10 |
|
| 11 |
|
| 12 |
# Define class labels of the animals
|