Spaces:
Runtime error
Runtime error
Commit
•
6e9ff3d
1
Parent(s):
5743a56
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import cv2 # Ensure you have opencv-python installed
|
|
4 |
from tensorflow.keras.models import load_model # Ensure you have TensorFlow installed
|
5 |
|
6 |
# Load your trained model
|
7 |
-
model = load_model(r"
|
8 |
|
9 |
# Define class names according to your model
|
10 |
class_names = ['benign', 'malignant', 'normal'] # Update this list if different
|
|
|
4 |
from tensorflow.keras.models import load_model # Ensure you have TensorFlow installed
|
5 |
|
6 |
# Load your trained model
|
7 |
+
model = load_model(r"breast_cancer_detection_model3.h5") # Update this path to your actual model file
|
8 |
|
9 |
# Define class names according to your model
|
10 |
class_names = ['benign', 'malignant', 'normal'] # Update this list if different
|