kevinwang676 commited on
Commit
99b8193
1 Parent(s): 52e7e7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -523,7 +523,7 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm"), a
523
 
524
 
525
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
526
- with gr.TabItem('您还可以将视频下载到本地'):
527
 
528
  with gr.Row():
529
  driven_audio = audio_cloned
@@ -557,7 +557,7 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm"), a
557
 
558
  with gr.Row():
559
  size_of_image = gr.Radio([256, 512], value=256, label='face model resolution', info="use 256/512 model?", visible=False) #
560
- preprocess_type = gr.Radio(['crop', 'resize','full', 'extcrop', 'extfull'], value='crop', label='preprocess', info="How to handle input image?", visible=False)
561
 
562
  with gr.Row():
563
  is_still_mode = gr.Checkbox(label="静态模式 (开启静态模式,角色的面部动作会减少;默认开启)", value=True)
 
523
 
524
 
525
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
526
+ with gr.TabItem('💡您还可以将视频下载到本地'):
527
 
528
  with gr.Row():
529
  driven_audio = audio_cloned
 
557
 
558
  with gr.Row():
559
  size_of_image = gr.Radio([256, 512], value=256, label='face model resolution', info="use 256/512 model?", visible=False) #
560
+ preprocess_type = gr.Radio(['crop', 'full'], value='crop', label='是否聚焦角色面部', info="crop:视频会聚焦角色面部;full:视频会显示图片全貌")
561
 
562
  with gr.Row():
563
  is_still_mode = gr.Checkbox(label="静态模式 (开启静态模式,角色的面部动作会减少;默认开启)", value=True)