Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,7 +192,7 @@ def generate_motion(source_image_path, driving_audio_path, emotion_name, cfg_sca
|
|
| 192 |
return final_path
|
| 193 |
|
| 194 |
# --- Gradio UI Definition ---
|
| 195 |
-
with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width:
|
| 196 |
gr.HTML(
|
| 197 |
"""
|
| 198 |
<div align='center'>
|
|
@@ -202,10 +202,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 90% !i
|
|
| 202 |
<a href='https://arxiv.org/abs/2507.03256'><img src='https://img.shields.io/badge/Paper-Arxiv-red'></a>
|
| 203 |
<a href='https://github.com/lixinyyang/MoDA/'><img src='https://img.shields.io/badge/Code-Github-green'></a>
|
| 204 |
</p>
|
| 205 |
-
<p>
|
| 206 |
-
This demo allows you to generate a talking head video from a source image and a driving audio file.
|
| 207 |
-
Audio files in any common format (MP3, WAV, M4A, etc.) are supported and will be automatically converted if needed.
|
| 208 |
-
</p>
|
| 209 |
</div>
|
| 210 |
"""
|
| 211 |
)
|
|
|
|
| 192 |
return final_path
|
| 193 |
|
| 194 |
# --- Gradio UI Definition ---
|
| 195 |
+
with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px !important; margin: 0 auto !important}") as demo:
|
| 196 |
gr.HTML(
|
| 197 |
"""
|
| 198 |
<div align='center'>
|
|
|
|
| 202 |
<a href='https://arxiv.org/abs/2507.03256'><img src='https://img.shields.io/badge/Paper-Arxiv-red'></a>
|
| 203 |
<a href='https://github.com/lixinyyang/MoDA/'><img src='https://img.shields.io/badge/Code-Github-green'></a>
|
| 204 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
</div>
|
| 206 |
"""
|
| 207 |
)
|