pavankm96 commited on
Commit
03ea931
·
verified ·
1 Parent(s): e9d1a9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("brain_tumor.h5")
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