Update app.py
Browse files
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 |
-
|
|
|
|
| 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'):
|