mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2024-12-22 20:42:38 +00:00
chore: format app.py
This commit is contained in:
parent
39698bc6b3
commit
669487a2fe
2
app.py
2
app.py
@ -47,7 +47,7 @@ data_examples = [
|
|||||||
eye_retargeting_slider = gr.Slider(minimum=0, maximum=0.8, step=0.01, label="target eye-close ratio")
|
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")
|
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")
|
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_image_paste_back = gr.Image(type="numpy")
|
||||||
output_video = gr.Video()
|
output_video = gr.Video()
|
||||||
output_video_concat = gr.Video()
|
output_video_concat = gr.Video()
|
||||||
|
@ -40,5 +40,5 @@ class ArgumentConfig(PrintableConfig):
|
|||||||
|
|
||||||
########## gradio arguments ##########
|
########## gradio arguments ##########
|
||||||
server_port: Annotated[int, tyro.conf.arg(aliases=["-p"])] = 8890
|
server_port: Annotated[int, tyro.conf.arg(aliases=["-p"])] = 8890
|
||||||
share: bool = False
|
share: bool = True
|
||||||
server_name: str = "0.0.0.0"
|
server_name: str = "0.0.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user