Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = ['
|
| 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)
|