Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,12 +20,16 @@ def infer(con_im,ref_im):
|
|
20 |
generated = p2p.transfer_as(condition, reference)
|
21 |
#generated.show()
|
22 |
return generated
|
|
|
|
|
23 |
with gr.Blocks() as app:
|
24 |
gr.Markdown("<center><h1 style='font-size:xxx-large;'>Pose Transfer Demo</h1><br><h3>repo: <a href='https://github.com/prasunroy/pose-transfer'>https://github.com/prasunroy/pose-transfer</a></h3>")
|
25 |
with gr.Row():
|
26 |
-
pose_maker=gr.HTML("<pose-maker/>")
|
27 |
condition_im = gr.Image(label='Style Image', type='filepath')
|
28 |
reference_im = gr.Image(label='Pose Image', type='filepath')
|
|
|
|
|
|
|
29 |
btn=gr.Button()
|
30 |
gr.load("spaces/Omnibus/model-mover")
|
31 |
|
|
|
20 |
generated = p2p.transfer_as(condition, reference)
|
21 |
#generated.show()
|
22 |
return generated
|
23 |
+
|
24 |
+
|
25 |
with gr.Blocks() as app:
|
26 |
gr.Markdown("<center><h1 style='font-size:xxx-large;'>Pose Transfer Demo</h1><br><h3>repo: <a href='https://github.com/prasunroy/pose-transfer'>https://github.com/prasunroy/pose-transfer</a></h3>")
|
27 |
with gr.Row():
|
|
|
28 |
condition_im = gr.Image(label='Style Image', type='filepath')
|
29 |
reference_im = gr.Image(label='Pose Image', type='filepath')
|
30 |
+
with gr.Accordion("Pose Maker",open=False):
|
31 |
+
pose_maker=gr.HTML("<iframe src='https://omnibus-model-mover.hf.space'")
|
32 |
+
|
33 |
btn=gr.Button()
|
34 |
gr.load("spaces/Omnibus/model-mover")
|
35 |
|