Spaces:
Build error
Build error
Commit
·
6290dee
1
Parent(s):
776463a
app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def predict(image_file, segmentation_png, bitmap_img):
|
|
58 |
# input
|
59 |
input = [gr.inputs.Image(type="filepath", label="Ground Truth - Real Image (jpg)"),
|
60 |
gr.inputs.Image(type="filepath", label="Segementated image (png)"),
|
61 |
-
gr.inputs.Image(type="filepath", label="corresponding bitmap image (bmp)", image_mode="L)]
|
62 |
|
63 |
examples = [["facades_data/cmp_b0010.jpg", "facades_data/cmp_b0010.png", "facades_data/cmp_b0010.bmp"],
|
64 |
["facades_data/cmp_b0020.jpg", "facades_data/cmp_b0020.png", "facades_data/cmp_b0020.bmp"],
|
|
|
58 |
# input
|
59 |
input = [gr.inputs.Image(type="filepath", label="Ground Truth - Real Image (jpg)"),
|
60 |
gr.inputs.Image(type="filepath", label="Segementated image (png)"),
|
61 |
+
gr.inputs.Image(type="filepath", label="corresponding bitmap image (bmp)", image_mode="L")]
|
62 |
|
63 |
examples = [["facades_data/cmp_b0010.jpg", "facades_data/cmp_b0010.png", "facades_data/cmp_b0010.bmp"],
|
64 |
["facades_data/cmp_b0020.jpg", "facades_data/cmp_b0020.png", "facades_data/cmp_b0020.bmp"],
|