Skip to content

Commit

Permalink
Update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Nov 9, 2024
1 parent 0ea0e75 commit f742699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def create_expression_parameters():
gr.Slider(label=_("Sample Ratio"), minimum=-0.2, maximum=1.2, step=0.01, value=1, visible=False),
gr.Dropdown(label=_("Sample Parts"), visible=False,
choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2.3)
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2)
]

@staticmethod
Expand All @@ -52,7 +52,7 @@ def create_video_parameters():
value=ModelType.HUMAN.value),
gr.Slider(label=_("First frame eyes alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
gr.Slider(label=_("First frame mouth alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2.3),
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
]

def launch(self):
Expand Down

0 comments on commit f742699

Please sign in to comment.