Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
import base64
|
7 |
|
8 |
# Load the pre-trained brain tumor segmentation model
|
9 |
-
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 |
|
|
|
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 |
|