vobecant
commited on
Commit
·
5c84b7d
1
Parent(s):
f45cfdd
Initial commit.
Browse files
app.py
CHANGED
@@ -226,7 +226,7 @@ examples += ['examples/cs{}.jpg'.format(i) for i in range(2, 5)]
|
|
226 |
# predict(examples[0])
|
227 |
|
228 |
iface = gr.Interface(predict, inputs=gr.inputs.Image(type='filepath'), title=title, description=description,
|
229 |
-
article=article,
|
230 |
outputs=[gr.outputs.Image(label="Pseudo segmentation", type="pil"),
|
231 |
gr.outputs.Image(label="Mapping to Cityscapes", type="pil")],
|
232 |
examples=examples)
|
@@ -235,4 +235,4 @@ iface = gr.Interface(predict, inputs=gr.inputs.Image(type='filepath'), title=tit
|
|
235 |
# examples=examples)
|
236 |
|
237 |
# iface.launch(show_error=True, share=True)
|
238 |
-
iface.launch(enable_queue=True, cache_examples=CACHE)
|
|
|
226 |
# predict(examples[0])
|
227 |
|
228 |
iface = gr.Interface(predict, inputs=gr.inputs.Image(type='filepath'), title=title, description=description,
|
229 |
+
article=article, theme='dark',
|
230 |
outputs=[gr.outputs.Image(label="Pseudo segmentation", type="pil"),
|
231 |
gr.outputs.Image(label="Mapping to Cityscapes", type="pil")],
|
232 |
examples=examples)
|
|
|
235 |
# examples=examples)
|
236 |
|
237 |
# iface.launch(show_error=True, share=True)
|
238 |
+
iface.launch(enable_queue=True, cache_examples=CACHE, inline=True)
|