Spaces:
Running
Running
gavinyuan
commited on
Commit
·
359b8a2
1
Parent(s):
0958530
update: app.py
Browse files
app.py
CHANGED
@@ -449,7 +449,7 @@ if __name__ == "__main__":
|
|
449 |
use_gpen = gr.Checkbox(label="Super Resolution")
|
450 |
with gr.Column(scale=2):
|
451 |
image_output = gr.Image()
|
452 |
-
image_button = gr.Button("
|
453 |
with gr.Tab("Video"):
|
454 |
with gr.Row():
|
455 |
with gr.Column(scale=3):
|
@@ -457,7 +457,7 @@ if __name__ == "__main__":
|
|
457 |
video_input = gr.Video(label='target')
|
458 |
with gr.Column(scale=2):
|
459 |
video_output = gr.Video()
|
460 |
-
video_button = gr.Button("
|
461 |
image_button.click(
|
462 |
swap_image_gr,
|
463 |
inputs=[image1_input, image2_input, use_post, use_gpen],
|
|
|
449 |
use_gpen = gr.Checkbox(label="Super Resolution")
|
450 |
with gr.Column(scale=2):
|
451 |
image_output = gr.Image()
|
452 |
+
image_button = gr.Button("Run: Face Swapping")
|
453 |
with gr.Tab("Video"):
|
454 |
with gr.Row():
|
455 |
with gr.Column(scale=3):
|
|
|
457 |
video_input = gr.Video(label='target')
|
458 |
with gr.Column(scale=2):
|
459 |
video_output = gr.Video()
|
460 |
+
video_button = gr.Button("Run: Face Swapping")
|
461 |
image_button.click(
|
462 |
swap_image_gr,
|
463 |
inputs=[image1_input, image2_input, use_post, use_gpen],
|