Spaces:
Paused
Paused
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: 90% !important;}") as demo:
|
| 196 |
gr.HTML(
|
| 197 |
"""
|
| 198 |
<div align='center'>
|
|
@@ -217,7 +217,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 90% !i
|
|
| 217 |
|
| 218 |
with gr.Row():
|
| 219 |
driving_audio = gr.Audio(
|
| 220 |
-
label="Driving Audio
|
| 221 |
type="filepath",
|
| 222 |
value="src/examples/driving_audios/5.wav"
|
| 223 |
)
|
|
|
|
| 192 |
return final_path
|
| 193 |
|
| 194 |
# --- Gradio UI Definition ---
|
| 195 |
+
with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 90% !important; margin: 0 auto !important}") as demo:
|
| 196 |
gr.HTML(
|
| 197 |
"""
|
| 198 |
<div align='center'>
|
|
|
|
| 217 |
|
| 218 |
with gr.Row():
|
| 219 |
driving_audio = gr.Audio(
|
| 220 |
+
label="Driving Audio",
|
| 221 |
type="filepath",
|
| 222 |
value="src/examples/driving_audios/5.wav"
|
| 223 |
)
|