Commit
Β·
5a362c2
1
Parent(s):
d980777
Update app.py
Browse files
app.py
CHANGED
@@ -257,8 +257,8 @@ with gr.Blocks(theme=theme) as blk_demo:
|
|
257 |
with gr.Row():
|
258 |
with gr.Column():
|
259 |
with gr.Group():
|
260 |
-
trg_in = gr.Image(type="pil", label='Target')
|
261 |
-
src_in = gr.Image(type="pil", label='Source')
|
262 |
with gr.Row():
|
263 |
b1 = gr.Button("Face Swap")
|
264 |
with gr.Row():
|
@@ -279,7 +279,7 @@ with gr.Blocks(theme=theme) as blk_demo:
|
|
279 |
inputs=trg_in)
|
280 |
with gr.Column():
|
281 |
with gr.Group():
|
282 |
-
ano_out = gr.Image(type="pil", label='Output')
|
283 |
|
284 |
b1.click(run_inference, inputs=[trg_in, src_in, def_in, mrg_in, chk_in], outputs=ano_out)
|
285 |
"""iface = gradio.Interface(run_inference,
|
|
|
257 |
with gr.Row():
|
258 |
with gr.Column():
|
259 |
with gr.Group():
|
260 |
+
trg_in = gr.Image(type="pil", label='Target')
|
261 |
+
src_in = gr.Image(type="pil", label='Source')
|
262 |
with gr.Row():
|
263 |
b1 = gr.Button("Face Swap")
|
264 |
with gr.Row():
|
|
|
279 |
inputs=trg_in)
|
280 |
with gr.Column():
|
281 |
with gr.Group():
|
282 |
+
ano_out = gr.Image(type="pil", label='Output')
|
283 |
|
284 |
b1.click(run_inference, inputs=[trg_in, src_in, def_in, mrg_in, chk_in], outputs=ano_out)
|
285 |
"""iface = gradio.Interface(run_inference,
|