Spaces:
Running
Running
victorisgeek
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -49,19 +49,19 @@ def main():
|
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
51 |
gr.Markdown('🖇️The source image to be swapped')
|
52 |
-
image_input = gr.Image(type='
|
53 |
with gr.Row():
|
54 |
with gr.Column():
|
55 |
gr.Markdown(
|
56 |
'🎭target face included in source image')
|
57 |
-
dst_face_image = gr.Image(type='
|
58 |
with gr.Column():
|
59 |
gr.Markdown(
|
60 |
'🧑🦳source face to replace target face')
|
61 |
-
src_face_image = gr.Image(type='
|
62 |
|
63 |
with gr.Column():
|
64 |
-
output_image = gr.Image(type='
|
65 |
use_enhancer = gr.Checkbox(
|
66 |
label="👑face enhance",
|
67 |
info="🧿Whether use face enhance model.")
|
@@ -135,12 +135,12 @@ def main():
|
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
137 |
gr.Markdown('🧑🦳The source image to be swapped')
|
138 |
-
image_input = gr.Image(type='
|
139 |
gr.Markdown('🗳️The target image with pose')
|
140 |
-
target = gr.Image(type='
|
141 |
|
142 |
with gr.Column():
|
143 |
-
output_image = gr.Image(type='
|
144 |
use_enhancer = gr.Checkbox(
|
145 |
label="👑face enhance",
|
146 |
info="🧾Whether use face enhance model.")
|
|
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
51 |
gr.Markdown('🖇️The source image to be swapped')
|
52 |
+
image_input = gr.Image(type='filepath')
|
53 |
with gr.Row():
|
54 |
with gr.Column():
|
55 |
gr.Markdown(
|
56 |
'🎭target face included in source image')
|
57 |
+
dst_face_image = gr.Image(type='filepath')
|
58 |
with gr.Column():
|
59 |
gr.Markdown(
|
60 |
'🧑🦳source face to replace target face')
|
61 |
+
src_face_image = gr.Image(type='filepath')
|
62 |
|
63 |
with gr.Column():
|
64 |
+
output_image = gr.Image(type='filepath')
|
65 |
use_enhancer = gr.Checkbox(
|
66 |
label="👑face enhance",
|
67 |
info="🧿Whether use face enhance model.")
|
|
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
137 |
gr.Markdown('🧑🦳The source image to be swapped')
|
138 |
+
image_input = gr.Image(type='filepath')
|
139 |
gr.Markdown('🗳️The target image with pose')
|
140 |
+
target = gr.Image(type='filepath')
|
141 |
|
142 |
with gr.Column():
|
143 |
+
output_image = gr.Image(type='filepath')
|
144 |
use_enhancer = gr.Checkbox(
|
145 |
label="👑face enhance",
|
146 |
info="🧾Whether use face enhance model.")
|