kevinwang676 commited on
Commit
05d4205
·
1 Parent(s): 9074b85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,18 +93,18 @@ with gr.Blocks(analytics_enabled=False) as sadtalker_interface:
93
  with gr.Row():
94
  pose_style = gr.Slider(minimum=0, maximum=45, step=1, label="Pose style", value=0, visible=False) #
95
  exp_weight = gr.Slider(minimum=0, maximum=3, step=0.1, label="expression scale", value=1, visible=False) #
96
- blink_every = gr.Checkbox(label="use eye blink", value=True)
97
 
98
  with gr.Row():
99
  size_of_image = gr.Radio([256, 512], value=256, label='face model resolution', info="use 256/512 model?", visible=False) #
100
  preprocess_type = gr.Radio(['crop', 'resize','full', 'extcrop', 'extfull'], value='crop', label='preprocess', info="How to handle input image?", visible=False)
101
 
102
  with gr.Row():
103
- is_still_mode = gr.Checkbox(label="Still Mode (fewer head motion, works with preprocess `full`)", value=True, visible=False)
104
  facerender = gr.Radio(['facevid2vid','pirender'], value='facevid2vid', label='facerender', info="which face render?", visible=False)
105
 
106
  with gr.Row():
107
- batch_size = gr.Slider(label="batch size in generation", step=1, maximum=10, value=1)
108
  enhancer = gr.Checkbox(label="GFPGAN as Face enhancer", value=True, visible=False)
109
 
110
  submit = gr.Button('Generate', elem_id="sadtalker_generate", variant='primary')
 
93
  with gr.Row():
94
  pose_style = gr.Slider(minimum=0, maximum=45, step=1, label="Pose style", value=0, visible=False) #
95
  exp_weight = gr.Slider(minimum=0, maximum=3, step=0.1, label="expression scale", value=1, visible=False) #
96
+ blink_every = gr.Checkbox(label="use eye blink", value=True, visible=False)
97
 
98
  with gr.Row():
99
  size_of_image = gr.Radio([256, 512], value=256, label='face model resolution', info="use 256/512 model?", visible=False) #
100
  preprocess_type = gr.Radio(['crop', 'resize','full', 'extcrop', 'extfull'], value='crop', label='preprocess', info="How to handle input image?", visible=False)
101
 
102
  with gr.Row():
103
+ is_still_mode = gr.Checkbox(label="Still Mode (fewer head motion, works with preprocess `full`)", value=True)
104
  facerender = gr.Radio(['facevid2vid','pirender'], value='facevid2vid', label='facerender', info="which face render?", visible=False)
105
 
106
  with gr.Row():
107
+ batch_size = gr.Slider(label="batch size in generation", step=1, maximum=10, value=2)
108
  enhancer = gr.Checkbox(label="GFPGAN as Face enhancer", value=True, visible=False)
109
 
110
  submit = gr.Button('Generate', elem_id="sadtalker_generate", variant='primary')