jhj0517 commited on
Commit
f742699
·
1 Parent(s): 0ea0e75

Update defaults

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ class App:
41
  gr.Slider(label=_("Sample Ratio"), minimum=-0.2, maximum=1.2, step=0.01, value=1, visible=False),
42
  gr.Dropdown(label=_("Sample Parts"), visible=False,
43
  choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
44
- gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2.3)
45
  ]
46
 
47
  @staticmethod
@@ -52,7 +52,7 @@ class App:
52
  value=ModelType.HUMAN.value),
53
  gr.Slider(label=_("First frame eyes alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
54
  gr.Slider(label=_("First frame mouth alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
55
- gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2.3),
56
  ]
57
 
58
  def launch(self):
 
41
  gr.Slider(label=_("Sample Ratio"), minimum=-0.2, maximum=1.2, step=0.01, value=1, visible=False),
42
  gr.Dropdown(label=_("Sample Parts"), visible=False,
43
  choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
44
+ gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2)
45
  ]
46
 
47
  @staticmethod
 
52
  value=ModelType.HUMAN.value),
53
  gr.Slider(label=_("First frame eyes alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
54
  gr.Slider(label=_("First frame mouth alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
55
+ gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
56
  ]
57
 
58
  def launch(self):