subek commited on
Commit
8942bea
·
verified ·
1 Parent(s): 9bf95d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,9 +6,8 @@ from PIL import Image
6
  import base64
7
 
8
  # Load the pre-trained brain tumor segmentation model
9
- model_path = 'model.h5' # Replace with your actual model path
10
- model = tf.keras.models.load_model(model_path)
11
- img_size = (256, 256) # Adjust based on your model's input size
12
 
13
  st.set_page_config(
14
  page_title="Brain Tumor Segmentation App",
 
6
  import base64
7
 
8
  # Load the pre-trained brain tumor segmentation model
9
+ model = tf.keras.models.load_model(model.h5)
10
+ img_size = (224, 224) # Adjust based on your model's input size
 
11
 
12
  st.set_page_config(
13
  page_title="Brain Tumor Segmentation App",