Ahsen Khaliq commited on
Commit
a0f947f
1 Parent(s): 62b8ae9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,9 +16,9 @@ def inference(content,style):
16
  }])
17
  return Image.fromarray(np.uint8(result[0]['data'])[:,:,::-1]).convert('RGB')
18
 
19
- title = "OpenPose"
20
- description = "Gradio demo for OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation. 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/1812.08008' target='_blank'>OpenPose: Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields</a> | <a href='https://github.com/CMU-Perceptual-Computing-Lab/openpose' 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()
 
16
  }])
17
  return Image.fromarray(np.uint8(result[0]['data'])[:,:,::-1]).convert('RGB')
18
 
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()