Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,8 +49,6 @@ def build_model(input_shape):
|
|
49 |
model = Model(input_layer, output_layer, name="U-Net")
|
50 |
return model
|
51 |
|
52 |
-
|
53 |
-
|
54 |
def preprocess_image(image, size=128):
|
55 |
image = cv2.resize(image, (size, size))
|
56 |
image = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)
|
|
|
49 |
model = Model(input_layer, output_layer, name="U-Net")
|
50 |
return model
|
51 |
|
|
|
|
|
52 |
def preprocess_image(image, size=128):
|
53 |
image = cv2.resize(image, (size, size))
|
54 |
image = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)
|