Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -176,8 +176,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
176 |
fn=gpu_wrapped_execute_image,
|
177 |
inputs=[eye_retargeting_slider, lip_retargeting_slider],
|
178 |
outputs=[output_image, output_image_paste_back],
|
179 |
-
show_progress=True
|
180 |
-
show_api=False
|
181 |
)
|
182 |
process_button_animation.click(
|
183 |
fn=gpu_wrapped_execute_video,
|
@@ -186,8 +185,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
186 |
video_input,
|
187 |
flag_relative_input,
|
188 |
flag_do_crop_input,
|
189 |
-
flag_remap_input
|
190 |
-
show_api=False
|
191 |
],
|
192 |
outputs=[output_video, output_video_concat],
|
193 |
show_progress=True
|
@@ -206,5 +204,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
206 |
demo.launch(
|
207 |
server_port=args.server_port,
|
208 |
share=args.share,
|
209 |
-
server_name=args.server_name
|
|
|
210 |
)
|
|
|
176 |
fn=gpu_wrapped_execute_image,
|
177 |
inputs=[eye_retargeting_slider, lip_retargeting_slider],
|
178 |
outputs=[output_image, output_image_paste_back],
|
179 |
+
show_progress=True
|
|
|
180 |
)
|
181 |
process_button_animation.click(
|
182 |
fn=gpu_wrapped_execute_video,
|
|
|
185 |
video_input,
|
186 |
flag_relative_input,
|
187 |
flag_do_crop_input,
|
188 |
+
flag_remap_input
|
|
|
189 |
],
|
190 |
outputs=[output_video, output_video_concat],
|
191 |
show_progress=True
|
|
|
204 |
demo.launch(
|
205 |
server_port=args.server_port,
|
206 |
share=args.share,
|
207 |
+
server_name=args.server_name,
|
208 |
+
show_api=False
|
209 |
)
|