chore: format app.py

This commit is contained in:
guojianzhu 2024-07-05 14:18:12 +08:00
parent 39698bc6b3
commit 669487a2fe
2 changed files with 9 additions and 9 deletions

2
app.py
View File

@ -47,7 +47,7 @@ data_examples = [
eye_retargeting_slider = gr.Slider(minimum=0, maximum=0.8, step=0.01, label="target eye-close ratio")
lip_retargeting_slider = gr.Slider(minimum=0, maximum=0.8, step=0.01, label="target lip-close ratio")
retargeting_input_image = gr.Image(type="numpy")
output_image = gr.Image( type="numpy")
output_image = gr.Image(type="numpy")
output_image_paste_back = gr.Image(type="numpy")
output_video = gr.Video()
output_video_concat = gr.Video()

View File

@ -40,5 +40,5 @@ class ArgumentConfig(PrintableConfig):
########## gradio arguments ##########
server_port: Annotated[int, tyro.conf.arg(aliases=["-p"])] = 8890
share: bool = False
share: bool = True
server_name: str = "0.0.0.0"