Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
650d58b
1
Parent(s):
ce7967f
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,6 @@ def inference(image):
|
|
18 |
title = "UGATIT-selfie2anime"
|
19 |
description = "Gradio demo for UGATIT-selfie2anime. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
20 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.10830' target='_blank'>U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation</a> | <a href='https://github.com/taki0112/UGATIT' target='_blank'>Github Repo</a></p>"
|
21 |
-
examples=[['
|
22 |
iface = gr.Interface(inference, inputs=gr.inputs.Image(type="file"), outputs=gr.outputs.Image(type="pil"),examples=examples,enable_queue=True,title=title,article=article,description=description)
|
23 |
iface.launch()
|
|
|
18 |
title = "UGATIT-selfie2anime"
|
19 |
description = "Gradio demo for UGATIT-selfie2anime. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
20 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.10830' target='_blank'>U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation</a> | <a href='https://github.com/taki0112/UGATIT' target='_blank'>Github Repo</a></p>"
|
21 |
+
examples=[['robert.png']]
|
22 |
iface = gr.Interface(inference, inputs=gr.inputs.Image(type="file"), outputs=gr.outputs.Image(type="pil"),examples=examples,enable_queue=True,title=title,article=article,description=description)
|
23 |
iface.launch()
|