Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from fpdf import FPDF # Import library to generate PDF
|
|
7 |
# Load the pre-trained Keras model
|
8 |
model = keras.models.load_model('retino_model.keras')
|
9 |
|
10 |
-
# Define class names
|
11 |
class_names = ['Healthy', 'Mild DR', 'Moderate DR', 'Proliferative DR', 'Severe DR']
|
12 |
|
13 |
# Function to provide additional care information based on the predicted condition
|
|
|
7 |
# Load the pre-trained Keras model
|
8 |
model = keras.models.load_model('retino_model.keras')
|
9 |
|
10 |
+
# Define class names for your model predictions
|
11 |
class_names = ['Healthy', 'Mild DR', 'Moderate DR', 'Proliferative DR', 'Severe DR']
|
12 |
|
13 |
# Function to provide additional care information based on the predicted condition
|