kevinwang676 commited on
Commit
7544d0c
1 Parent(s): 99b8193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -517,7 +517,7 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm"), a
517
  with gr.Row().style(equal_height=False):
518
  with gr.Column(variant='panel'):
519
  with gr.Tabs(elem_id="sadtalker_source_image"):
520
- with gr.TabItem('Source image'):
521
  with gr.Row():
522
  source_image = gr.Image(label="请上传一张您喜欢角色的图片", source="upload", type="filepath", elem_id="img2img_image").style(width=512)
523
 
@@ -546,7 +546,7 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm"), a
546
 
547
  with gr.Column(variant='panel'):
548
  with gr.Tabs(elem_id="sadtalker_checkbox"):
549
- with gr.TabItem('Settings'):
550
  with gr.Column(variant='panel'):
551
  # width = gr.Slider(minimum=64, elem_id="img2img_width", maximum=2048, step=8, label="Manually Crop Width", value=512) # img2img_width
552
  # height = gr.Slider(minimum=64, elem_id="img2img_height", maximum=2048, step=8, label="Manually Crop Height", value=512) # img2img_width
 
517
  with gr.Row().style(equal_height=False):
518
  with gr.Column(variant='panel'):
519
  with gr.Tabs(elem_id="sadtalker_source_image"):
520
+ with gr.TabItem('图片上传'):
521
  with gr.Row():
522
  source_image = gr.Image(label="请上传一张您喜欢角色的图片", source="upload", type="filepath", elem_id="img2img_image").style(width=512)
523
 
 
546
 
547
  with gr.Column(variant='panel'):
548
  with gr.Tabs(elem_id="sadtalker_checkbox"):
549
+ with gr.TabItem('视频设置'):
550
  with gr.Column(variant='panel'):
551
  # width = gr.Slider(minimum=64, elem_id="img2img_width", maximum=2048, step=8, label="Manually Crop Width", value=512) # img2img_width
552
  # height = gr.Slider(minimum=64, elem_id="img2img_height", maximum=2048, step=8, label="Manually Crop Height", value=512) # img2img_width