Commit
•
40083b9
1
Parent(s):
a4a7db2
Update app.py
Browse files
app.py
CHANGED
@@ -61,9 +61,9 @@ examples = [['images/image_1.jpg','images/depth_1.png','images/gt_1.png'],
|
|
61 |
['images/image_4.jpg','images/depth_4.png','images/gt_4.png'],
|
62 |
['images/image_5.jpg','images/depth_5.png','images/gt_5.png']]
|
63 |
|
64 |
-
input_1 = gr.Image(type='pil', label="RGB Image",
|
65 |
-
input_2 = gr.Image(type='pil', label="Depth Image",
|
66 |
-
input_3 = gr.Image(type='pil', label="Ground Truth",
|
67 |
outputs = gr.Image(type="pil", label="Saliency Map")
|
68 |
|
69 |
|
|
|
61 |
['images/image_4.jpg','images/depth_4.png','images/gt_4.png'],
|
62 |
['images/image_5.jpg','images/depth_5.png','images/gt_5.png']]
|
63 |
|
64 |
+
input_1 = gr.Image(type='pil', label="RGB Image", sources="upload")
|
65 |
+
input_2 = gr.Image(type='pil', label="Depth Image", sources="upload")
|
66 |
+
input_3 = gr.Image(type='pil', label="Ground Truth", sources="upload")
|
67 |
outputs = gr.Image(type="pil", label="Saliency Map")
|
68 |
|
69 |
|