DHEIVER commited on
Commit
08e58aa
·
1 Parent(s): c7e00d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -30,8 +30,7 @@ class FixedDropout(tf.keras.layers.Layer):
30
  config['seed'] = self.seed # Serialize the seed argument
31
  return config
32
 
33
-
34
- class ImageClassifierApp:
35
  def __init__(self, model_path):
36
  self.model_path = model_path
37
  self.model = self.load_model()
@@ -83,5 +82,5 @@ class ImageClassifierApp:
83
 
84
  if __name__ == "__main__":
85
  model_path = 'modelo_treinado.h5' # Replace with the path to your trained model
86
- app = ImageClassifierApp(model_path)
87
  app.run_interface()
 
30
  config['seed'] = self.seed # Serialize the seed argument
31
  return config
32
 
33
+ class ImageClassifierCataract:
 
34
  def __init__(self, model_path):
35
  self.model_path = model_path
36
  self.model = self.load_model()
 
82
 
83
  if __name__ == "__main__":
84
  model_path = 'modelo_treinado.h5' # Replace with the path to your trained model
85
+ app = ImageClassifierCataract(model_path)
86
  app.run_interface()