ibrahimabdelaal commited on
Commit
dfc9666
·
1 Parent(s): 185fcb9

Fix gr.Audio help parameter error

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -321,11 +321,12 @@ with gr.Blocks(title="Arabic TTS - Spark", theme=gr.themes.Soft()) as demo:
321
  info="⚠️ Text must include diacritics (تشكيل). Use GPT/Claude to add them."
322
  )
323
 
 
 
324
  reference_audio = gr.Audio(
325
- label="🎵 Reference Audio (Default Provided)",
326
  type="filepath",
327
- value=DEFAULT_REFERENCE_AUDIO,
328
- help="Upload custom reference audio or use the default (WAV format, 5-30 seconds)"
329
  )
330
 
331
  reference_transcript = gr.Textbox(
 
321
  info="⚠️ Text must include diacritics (تشكيل). Use GPT/Claude to add them."
322
  )
323
 
324
+ gr.Markdown("**🎵 Reference Audio (Default Provided)**")
325
+ gr.Markdown("*Upload custom reference audio or use the default (WAV format, 5-30 seconds)*")
326
  reference_audio = gr.Audio(
327
+ label="Reference Audio",
328
  type="filepath",
329
+ value=DEFAULT_REFERENCE_AUDIO
 
330
  )
331
 
332
  reference_transcript = gr.Textbox(