Spaces:
Sleeping

nivith commited on
Commit
9c8b746
·
1 Parent(s): 0d48576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model_path = "skin_model.h5"
12
  # Load the model and label encoder
13
  model = load_model(model_path)
14
 
15
- class_names = ['Cancer' ,'Non_Cancer']
16
 
17
  def predict_input_image(img):
18
  img_4d=img.reshape(-1,100,100,3)
 
12
  # Load the model and label encoder
13
  model = load_model(model_path)
14
 
15
+ class_names = ['Non_Cancer','Cancer']
16
 
17
  def predict_input_image(img):
18
  img_4d=img.reshape(-1,100,100,3)