shruti9S commited on
Commit
1b5f819
·
verified ·
1 Parent(s): ed4a32f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -54,7 +54,8 @@ def sadtalker_demo():
54
  with gr.Tabs(elem_id="sadtalker_source_image"):
55
  with gr.TabItem('Source image'):
56
  with gr.Row():
57
- source_image = gr.Image(label="Source image", source="upload", type="filepath", elem_id="img2img_image").style(width=512)
 
58
 
59
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
60
  with gr.TabItem('Driving Methods'):
 
54
  with gr.Tabs(elem_id="sadtalker_source_image"):
55
  with gr.TabItem('Source image'):
56
  with gr.Row():
57
+ # Removed `source="upload"` and changed `type` to `filepath`
58
+ source_image = gr.Image(label="Source image", type="filepath", elem_id="img2img_image").style(width=512)
59
 
60
  with gr.Tabs(elem_id="sadtalker_driven_audio"):
61
  with gr.TabItem('Driving Methods'):