Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,13 @@ def infer(audio_input, image_path, emotional_style):
|
|
43 |
|
44 |
return result
|
45 |
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
48 |
gr.HTML("""
|
49 |
<h2 style="text-align: center;">DreamTalk: When Expressive Talking Head Generation Meets Diffusion Probabilistic Models</h2>
|
50 |
<p style="text-align: center;">
|
@@ -126,7 +131,7 @@ with gr.Blocks() as demo:
|
|
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(
|
|
|
43 |
|
44 |
return result
|
45 |
|
46 |
+
css="""
|
47 |
+
#col-container{
|
48 |
+
max-width: 840px;
|
49 |
+
}
|
50 |
+
"""
|
51 |
+
with gr.Blocks(css=css) as demo:
|
52 |
+
with gr.Column(elem_id="col-container"):
|
53 |
gr.HTML("""
|
54 |
<h2 style="text-align: center;">DreamTalk: When Expressive Talking Head Generation Meets Diffusion Probabilistic Models</h2>
|
55 |
<p style="text-align: center;">
|
|
|
131 |
with gr.Column():
|
132 |
output_video = gr.Video(format="mp4")
|
133 |
gr.HTML("""
|
134 |
+
<img src="https://github.com/ali-vilab/dreamtalk/raw/main/media/teaser.gif" style="margin: 0 auto;border-radius: 10px;" />
|
135 |
""")
|
136 |
|
137 |
run_btn.click(
|