Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import cv2
|
|
| 5 |
import tensorflow as tf # Assuming you're using TensorFlow for loading your model
|
| 6 |
|
| 7 |
# Load your model
|
| 8 |
-
model = tf.keras.models.load_model("
|
| 9 |
|
| 10 |
def img_pred(upload):
|
| 11 |
# Convert the Gradio input image to OpenCV format
|
|
|
|
| 5 |
import tensorflow as tf # Assuming you're using TensorFlow for loading your model
|
| 6 |
|
| 7 |
# Load your model
|
| 8 |
+
model = tf.keras.models.load_model("Brain_tumor_pred_large.h5")
|
| 9 |
|
| 10 |
def img_pred(upload):
|
| 11 |
# Convert the Gradio input image to OpenCV format
|