Ahsen Khaliq commited on
Commit
3121067
1 Parent(s): c4a09f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,6 +19,6 @@ def inference(content,style):
19
  title = " StyleProNet"
20
  description = "Gradio demo for Parameter-Free Style Projection for Arbitrary Style Transfer. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
21
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2003.07694'target='_blank'>Parameter-Free Style Projection for Arbitrary Style Transfer</a> | <a href='https://github.com/PaddlePaddle/PaddleHub' target='_blank'>Github Repo</a></p>"
22
- examples=[['people.jpeg']]
23
  iface = gr.Interface(inference, inputs=[gr.inputs.Image(type="file",label='content'),gr.inputs.Image(type="file",label='style')], outputs=gr.outputs.Image(type="pil"),enable_queue=True,title=title,article=article,description=description,examples=examples)
24
  iface.launch()
19
  title = " StyleProNet"
20
  description = "Gradio demo for Parameter-Free Style Projection for Arbitrary Style Transfer. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
21
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2003.07694'target='_blank'>Parameter-Free Style Projection for Arbitrary Style Transfer</a> | <a href='https://github.com/PaddlePaddle/PaddleHub' target='_blank'>Github Repo</a></p>"
22
+ examples=[['mona1.jpeg','starry.jpeg']]
23
  iface = gr.Interface(inference, inputs=[gr.inputs.Image(type="file",label='content'),gr.inputs.Image(type="file",label='style')], outputs=gr.outputs.Image(type="pil"),enable_queue=True,title=title,article=article,description=description,examples=examples)
24
  iface.launch()