victorisgeek commited on
Commit
8b7d655
·
verified ·
1 Parent(s): 0688273

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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='📗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,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='📗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.")
 
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.")