Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
62b8ae9
1
Parent(s):
fbc1e4c
Update app.py
Browse files
app.py
CHANGED
@@ -20,5 +20,5 @@ 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"), outputs=gr.outputs.Image(type="pil"),enable_queue=True,title=title,article=article,description=description,examples=examples)
|
24 |
iface.launch()
|
|
|
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()
|