Spaces:
Build error
Build error
RobotJelly
commited on
Commit
•
15a6641
1
Parent(s):
b28830c
app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def predict(image_file, segmentation_png, bitmap_img):
|
|
57 |
|
58 |
# input
|
59 |
input = [gr.inputs.Image(type="filepath", label="Ground Truth - Real Image (jpg)"),
|
60 |
-
gr.inputs.Image(type="filepath", label="
|
61 |
-
gr.inputs.Image(type="filepath", label="
|
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"],
|
|
|
57 |
|
58 |
# input
|
59 |
input = [gr.inputs.Image(type="filepath", label="Ground Truth - Real Image (jpg)"),
|
60 |
+
gr.inputs.Image(type="filepath", label="Corresponding Segmentation (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"],
|