hitty commited on
Commit
56008bd
·
1 Parent(s): 21c1533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,8 +12,7 @@ from tensorflow.keras.utils import get_custom_objects
12
  # Define and register the custom KerasLayer
13
  class KerasLayer(Layer):
14
  # Your custom layer implementation
15
-
16
- get_custom_objects().update({"KerasLayer": KerasLayer})
17
 
18
  # Load the model
19
  model_path = "./Vegetable/Vegetable.h5"
 
12
  # Define and register the custom KerasLayer
13
  class KerasLayer(Layer):
14
  # Your custom layer implementation
15
+ get_custom_objects().update({"KerasLayer": KerasLayer})
 
16
 
17
  # Load the model
18
  model_path = "./Vegetable/Vegetable.h5"