RobotJelly commited on
Commit
15a6641
1 Parent(s): b28830c
Files changed (1) hide show
  1. app.py +2 -2
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="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"],
 
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"],