Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import tensorflow as tf
|
4 |
|
5 |
# Load your model
|
6 |
-
model = tf.keras.models.load_model("model.h5") # Ensure this is the correct path to your model
|
7 |
|
8 |
def predict(image):
|
9 |
# Preprocess the image for prediction
|
|
|
3 |
import tensorflow as tf
|
4 |
|
5 |
# Load your model
|
6 |
+
model = tf.keras.models.load_model("model/Brain_tumor_pred.h5") # Ensure this is the correct path to your model
|
7 |
|
8 |
def predict(image):
|
9 |
# Preprocess the image for prediction
|