vobecant
commited on
Commit
·
e8b1631
1
Parent(s):
deeb0e8
Initial commit.
Browse files
app.py
CHANGED
@@ -186,8 +186,7 @@ examples = ['examples/img5.jpeg', 'examples/100.jpeg', 'examples/39076.jpeg', 'e
|
|
186 |
|
187 |
# predict(examples[0])
|
188 |
|
189 |
-
iface = gr.Interface(predict, gr.inputs.Image(type='filepath'),
|
190 |
-
"image", title=title, description=description,
|
191 |
outputs=[gr.outputs.Image(label="Pseudo segmentation", type="pil"),
|
192 |
gr.outputs.Image(label="Mapping to Cityscapes", type="pil")],
|
193 |
examples=examples)
|
|
|
186 |
|
187 |
# predict(examples[0])
|
188 |
|
189 |
+
iface = gr.Interface(predict, inputs=gr.inputs.Image(type='filepath'), title=title, description=description,
|
|
|
190 |
outputs=[gr.outputs.Image(label="Pseudo segmentation", type="pil"),
|
191 |
gr.outputs.Image(label="Mapping to Cityscapes", type="pil")],
|
192 |
examples=examples)
|