multimodalart HF Staff commited on
Commit
aecc32d
·
verified ·
1 Parent(s): b825489

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,7 +60,7 @@ Type any text — numbers, times and currency are normalised automatically — a
60
 
61
 
62
  def build_demo() -> "gr.Blocks":
63
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
64
  gr.Markdown(DESCRIPTION)
65
  with gr.Column(elem_id="col-container"):
66
  with gr.Row():
@@ -84,7 +84,7 @@ def build_demo() -> "gr.Blocks":
84
  scale=1,
85
  )
86
  run_btn = gr.Button("Synthesize", variant="primary", scale=1)
87
- audio_out = gr.Audio(label="Speech", type="numpy", show_download_button=True)
88
 
89
  run_btn.click(
90
  synthesize,
@@ -117,4 +117,4 @@ def build_demo() -> "gr.Blocks":
117
 
118
 
119
  demo = build_demo()
120
- demo.launch(mcp_server=True)
 
60
 
61
 
62
  def build_demo() -> "gr.Blocks":
63
+ with gr.Blocks() as demo:
64
  gr.Markdown(DESCRIPTION)
65
  with gr.Column(elem_id="col-container"):
66
  with gr.Row():
 
84
  scale=1,
85
  )
86
  run_btn = gr.Button("Synthesize", variant="primary", scale=1)
87
+ audio_out = gr.Audio(label="Speech", type="numpy")
88
 
89
  run_btn.click(
90
  synthesize,
 
117
 
118
 
119
  demo = build_demo()
120
+ demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)