Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ import joblib
|
|
| 6 |
# Load the trained model
|
| 7 |
model = joblib.load("model.pkl")
|
| 8 |
|
| 9 |
-
# Define class labels
|
| 10 |
-
class_names = ["
|
| 11 |
|
| 12 |
def predict(img):
|
| 13 |
# Resize image to match model input size
|
|
|
|
| 6 |
# Load the trained model
|
| 7 |
model = joblib.load("model.pkl")
|
| 8 |
|
| 9 |
+
# Define class labels
|
| 10 |
+
class_names = ["Monkeypox", "Not Monkeypox"]
|
| 11 |
|
| 12 |
def predict(img):
|
| 13 |
# Resize image to match model input size
|