Spaces:
Running
Running
gavinyuan
commited on
Commit
·
2845f22
1
Parent(s):
33d76ae
update: app.py
Browse files
app.py
CHANGED
@@ -439,20 +439,20 @@ if __name__ == "__main__":
|
|
439 |
gr.Markdown("SuperSwap")
|
440 |
|
441 |
with gr.Tab("Image"):
|
442 |
-
with gr.Row(
|
443 |
with gr.Column(scale=3):
|
444 |
-
image1_input = gr.Image()
|
445 |
-
image2_input = gr.Image()
|
446 |
-
use_post = gr.Checkbox(label="
|
447 |
-
use_gpen = gr.Checkbox(label="
|
448 |
with gr.Column(scale=2):
|
449 |
image_output = gr.Image()
|
450 |
image_button = gr.Button("换脸")
|
451 |
with gr.Tab("Video"):
|
452 |
-
with gr.Row(
|
453 |
with gr.Column(scale=3):
|
454 |
-
image3_input = gr.Image()
|
455 |
-
video_input = gr.Video()
|
456 |
with gr.Column(scale=2):
|
457 |
video_output = gr.Video()
|
458 |
video_button = gr.Button("换脸")
|
|
|
439 |
gr.Markdown("SuperSwap")
|
440 |
|
441 |
with gr.Tab("Image"):
|
442 |
+
with gr.Row():
|
443 |
with gr.Column(scale=3):
|
444 |
+
image1_input = gr.Image(label='source')
|
445 |
+
image2_input = gr.Image(label='target')
|
446 |
+
use_post = gr.Checkbox(label="Post-Process")
|
447 |
+
use_gpen = gr.Checkbox(label="Super Resolution")
|
448 |
with gr.Column(scale=2):
|
449 |
image_output = gr.Image()
|
450 |
image_button = gr.Button("换脸")
|
451 |
with gr.Tab("Video"):
|
452 |
+
with gr.Row():
|
453 |
with gr.Column(scale=3):
|
454 |
+
image3_input = gr.Image(label='source')
|
455 |
+
video_input = gr.Video(label='target')
|
456 |
with gr.Column(scale=2):
|
457 |
video_output = gr.Video()
|
458 |
video_button = gr.Button("换脸")
|