Commit
Β·
2070485
1
Parent(s):
8d63f3f
Update app.py
Browse files
app.py
CHANGED
@@ -256,7 +256,7 @@ with gr.Blocks(theme=theme) as blk_demo:
|
|
256 |
gr.Markdown(value="# Face Dancer")
|
257 |
with gr.Row():
|
258 |
with gr.Column():
|
259 |
-
with gr.
|
260 |
trg_in = gr.Image(shape=None, type="pil", label='Target').style(height=300)
|
261 |
src_in = gr.Image(shape=None, type="pil", label='Source').style(height=300)
|
262 |
with gr.Row():
|
@@ -278,7 +278,7 @@ with gr.Blocks(theme=theme) as blk_demo:
|
|
278 |
gr.Examples(examples=[["assets/musk.jpg"], ["assets/rick.jpg"]],
|
279 |
inputs=trg_in)
|
280 |
with gr.Column():
|
281 |
-
with gr.
|
282 |
ano_out = gr.Image(type="pil", label='Output').style(height=300)
|
283 |
|
284 |
b1.click(run_inference, inputs=[trg_in, src_in, def_in, mrg_in, chk_in], outputs=ano_out)
|
|
|
256 |
gr.Markdown(value="# Face Dancer")
|
257 |
with gr.Row():
|
258 |
with gr.Column():
|
259 |
+
with gr.Group():
|
260 |
trg_in = gr.Image(shape=None, type="pil", label='Target').style(height=300)
|
261 |
src_in = gr.Image(shape=None, type="pil", label='Source').style(height=300)
|
262 |
with gr.Row():
|
|
|
278 |
gr.Examples(examples=[["assets/musk.jpg"], ["assets/rick.jpg"]],
|
279 |
inputs=trg_in)
|
280 |
with gr.Column():
|
281 |
+
with gr.Group():
|
282 |
ano_out = gr.Image(type="pil", label='Output').style(height=300)
|
283 |
|
284 |
b1.click(run_inference, inputs=[trg_in, src_in, def_in, mrg_in, chk_in], outputs=ano_out)
|