Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,6 @@ with gr.Blocks() as demo:
|
|
49 |
<h2 style="text-align: center;">DreamTalk: When Expressive Talking Head Generation Meets Diffusion Probabilistic Models</h2>
|
50 |
<p style="text-align: center;">
|
51 |
DreamTalk is a diffusion-based audio-driven expressive talking head generation framework that can produce high-quality talking head videos across diverse speaking styles. DreamTalk exhibits robust performance with a diverse array of inputs, including songs, speech in multiple languages, noisy audio, and out-of-domain portraits.
|
52 |
-
<img src="https://github.com/ali-vilab/dreamtalk/raw/main/media/teaser.gif" style="margin: 0 auto" width="40%" />
|
53 |
</p>
|
54 |
""")
|
55 |
with gr.Row():
|
@@ -120,11 +119,15 @@ with gr.Blocks() as demo:
|
|
120 |
"data/src_img/cropped/zp1.png",
|
121 |
"data/src_img/cropped/zt12.png"
|
122 |
],
|
123 |
-
inputs=[image_path]
|
|
|
124 |
)
|
125 |
run_btn = gr.Button("Run")
|
126 |
with gr.Column():
|
127 |
output_video = gr.Video(format="mp4")
|
|
|
|
|
|
|
128 |
|
129 |
run_btn.click(
|
130 |
fn = infer,
|
|
|
49 |
<h2 style="text-align: center;">DreamTalk: When Expressive Talking Head Generation Meets Diffusion Probabilistic Models</h2>
|
50 |
<p style="text-align: center;">
|
51 |
DreamTalk is a diffusion-based audio-driven expressive talking head generation framework that can produce high-quality talking head videos across diverse speaking styles. DreamTalk exhibits robust performance with a diverse array of inputs, including songs, speech in multiple languages, noisy audio, and out-of-domain portraits.
|
|
|
52 |
</p>
|
53 |
""")
|
54 |
with gr.Row():
|
|
|
119 |
"data/src_img/cropped/zp1.png",
|
120 |
"data/src_img/cropped/zt12.png"
|
121 |
],
|
122 |
+
inputs=[image_path],
|
123 |
+
examples_per_page=6
|
124 |
)
|
125 |
run_btn = gr.Button("Run")
|
126 |
with gr.Column():
|
127 |
output_video = gr.Video(format="mp4")
|
128 |
+
gr.HTML("""
|
129 |
+
<img src="https://github.com/ali-vilab/dreamtalk/raw/main/media/teaser.gif" style="margin: 0 auto" />
|
130 |
+
""")
|
131 |
|
132 |
run_btn.click(
|
133 |
fn = infer,
|