Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
10 |
-
|
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",
|