Spaces:
Build error
Build error
Commit ·
c730fc5
1
Parent(s): 505487b
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ class Normalization(Layer):
|
|
| 16 |
return (inputs - self.mean) / self.std
|
| 17 |
|
| 18 |
|
| 19 |
-
cnn_model = load_model("./files/
|
| 20 |
class_names = ['Black Widow',
|
| 21 |
'Blue Tarantula',
|
| 22 |
'Bold Jumper',
|
|
|
|
| 16 |
return (inputs - self.mean) / self.std
|
| 17 |
|
| 18 |
|
| 19 |
+
cnn_model = load_model("./files/model_new.h5", custom_objects={'Normalization': Normalization})
|
| 20 |
class_names = ['Black Widow',
|
| 21 |
'Blue Tarantula',
|
| 22 |
'Bold Jumper',
|