abreza commited on
Commit
f6621b8
1 Parent(s): 6163d4d
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -207,7 +207,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
207
  with gr.TabItem('Source image'):
208
  with gr.Row():
209
  source_image = gr.Image(
210
- label="Source image", source="upload", type="filepath", elem_id="img2img_image")
211
 
212
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
213
  with gr.TabItem('Driving Methods'):
@@ -216,9 +216,9 @@ with gr.Blocks(analytics_enabled=False) as demo:
216
 
217
  with gr.Row():
218
  driven_audio = gr.Audio(
219
- label="Input audio", source="upload", type="filepath")
220
  driven_audio_no = gr.Audio(
221
- label="Use IDLE mode, no audio is required", source="upload", type="filepath", visible=False)
222
 
223
  with gr.Column():
224
  use_idle_mode = gr.Checkbox(
@@ -230,7 +230,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
230
 
231
  with gr.Row():
232
  ref_video = gr.Video(
233
- label="Reference Video", source="upload", type="filepath", elem_id="vidref")
234
 
235
  with gr.Column():
236
  use_ref_video = gr.Checkbox(
 
207
  with gr.TabItem('Source image'):
208
  with gr.Row():
209
  source_image = gr.Image(
210
+ label="Source image", sources="upload", type="filepath", elem_id="img2img_image")
211
 
212
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
213
  with gr.TabItem('Driving Methods'):
 
216
 
217
  with gr.Row():
218
  driven_audio = gr.Audio(
219
+ label="Input audio", sources="upload", type="filepath")
220
  driven_audio_no = gr.Audio(
221
+ label="Use IDLE mode, no audio is required", sources="upload", type="filepath", visible=False)
222
 
223
  with gr.Column():
224
  use_idle_mode = gr.Checkbox(
 
230
 
231
  with gr.Row():
232
  ref_video = gr.Video(
233
+ label="Reference Video", sources="upload", type="filepath", elem_id="vidref")
234
 
235
  with gr.Column():
236
  use_ref_video = gr.Checkbox(