jhj0517 commited on
Commit
9d60a8f
·
1 Parent(s): 5123a61

Increase threshold

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -17,13 +17,13 @@ class App:
17
  gr.Slider(label="Rotate Yaw", minimum=-20, maximum=20, step=0.5, value=0),
18
  gr.Slider(label="Rotate Roll", minimum=-20, maximum=20, step=0.5, value=0),
19
  gr.Slider(label="Blink", minimum=-20, maximum=20, step=0.5, value=0),
20
- gr.Slider(label="Eyebrow", minimum=-10, maximum=15, step=0.5, value=0),
21
  gr.Slider(label="Wink", minimum=0, maximum=25, step=0.5, value=0),
22
- gr.Slider(label="Pupil X", minimum=-15, maximum=15, step=0.5, value=0),
23
- gr.Slider(label="Pupil Y", minimum=-15, maximum=15, step=0.5, value=0),
24
  gr.Slider(label="AAA", minimum=-30, maximum=120, step=1, value=0),
25
- gr.Slider(label="EEE", minimum=-20, maximum=15, step=0.2, value=0),
26
- gr.Slider(label="WOO", minimum=-20, maximum=15, step=0.2, value=0),
27
  gr.Slider(label="Smile", minimum=-0.3, maximum=1.3, step=0.01, value=0),
28
  gr.Slider(label="Source Ratio", minimum=0, maximum=1, step=0.01, value=1),
29
  gr.Slider(label="Sample Ratio", minimum=-0.2, maximum=1.2, step=0.01, value=1),
@@ -40,9 +40,9 @@ class App:
40
  with gr.Row():
41
  btn_gen = gr.Button("GENERATE", visible=False)
42
  with gr.Row():
43
- with gr.Column(scale=7):
44
  img_out = gr.Image(label="Output Image")
45
- with gr.Column(scale=3):
46
  expression_parameters = self.create_parameters()
47
  with gr.Accordion("Opt in features", visible=False):
48
  img_sample = gr.Image()
 
17
  gr.Slider(label="Rotate Yaw", minimum=-20, maximum=20, step=0.5, value=0),
18
  gr.Slider(label="Rotate Roll", minimum=-20, maximum=20, step=0.5, value=0),
19
  gr.Slider(label="Blink", minimum=-20, maximum=20, step=0.5, value=0),
20
+ gr.Slider(label="Eyebrow", minimum=-20, maximum=20, step=0.5, value=0),
21
  gr.Slider(label="Wink", minimum=0, maximum=25, step=0.5, value=0),
22
+ gr.Slider(label="Pupil X", minimum=-20, maximum=20, step=0.5, value=0),
23
+ gr.Slider(label="Pupil Y", minimum=-20, maximum=20, step=0.5, value=0),
24
  gr.Slider(label="AAA", minimum=-30, maximum=120, step=1, value=0),
25
+ gr.Slider(label="EEE", minimum=-20, maximum=20, step=0.2, value=0),
26
+ gr.Slider(label="WOO", minimum=-20, maximum=20, step=0.2, value=0),
27
  gr.Slider(label="Smile", minimum=-0.3, maximum=1.3, step=0.01, value=0),
28
  gr.Slider(label="Source Ratio", minimum=0, maximum=1, step=0.01, value=1),
29
  gr.Slider(label="Sample Ratio", minimum=-0.2, maximum=1.2, step=0.01, value=1),
 
40
  with gr.Row():
41
  btn_gen = gr.Button("GENERATE", visible=False)
42
  with gr.Row():
43
+ with gr.Column(scale=8):
44
  img_out = gr.Image(label="Output Image")
45
+ with gr.Column(scale=2):
46
  expression_parameters = self.create_parameters()
47
  with gr.Accordion("Opt in features", visible=False):
48
  img_sample = gr.Image()