multimodalart HF Staff commited on
Commit
8b5368b
·
verified ·
1 Parent(s): 52010af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 (any format - will be converted to WAV if needed)",
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
  )