vobecant
commited on
Commit
•
769fe72
1
Parent(s):
e78cfd3
Initial commit.
Browse files
app.py
CHANGED
@@ -233,10 +233,10 @@ iface = gr.Interface(predict, inputs=gr.Image(type='filepath'), title=title, des
|
|
233 |
# theme='dark',
|
234 |
outputs=[gr.Image(label="Pseudo segmentation", type="pil"),
|
235 |
gr.Image(label="Mapping to Cityscapes", type="pil")],
|
236 |
-
examples=examples)
|
237 |
# iface = gr.Interface(predict, gr.inputs.Image(type='filepath'),
|
238 |
# "image", title=title, description=description,
|
239 |
# examples=examples)
|
240 |
|
241 |
# iface.launch(show_error=True, share=True)
|
242 |
-
iface.launch(enable_queue=True, inline=True
|
|
|
233 |
# theme='dark',
|
234 |
outputs=[gr.Image(label="Pseudo segmentation", type="pil"),
|
235 |
gr.Image(label="Mapping to Cityscapes", type="pil")],
|
236 |
+
examples=examples, cache_examples=False)
|
237 |
# iface = gr.Interface(predict, gr.inputs.Image(type='filepath'),
|
238 |
# "image", title=title, description=description,
|
239 |
# examples=examples)
|
240 |
|
241 |
# iface.launch(show_error=True, share=True)
|
242 |
+
iface.launch(enable_queue=True, inline=True)
|