Khalil09 commited on
Commit
cf85627
Β·
verified Β·
1 Parent(s): aff09f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -317,7 +317,7 @@ label { color: var(--muted) !important; font-size: .82rem !important; font-weigh
317
  """
318
 
319
  # ── Build UI ──────────────────────────────────────────────────────────────────
320
- with gr.Blocks(css=CSS, title="VoiceForge AI β€” Text to Speech") as demo:
321
 
322
  # Hero
323
  gr.HTML("""
@@ -387,7 +387,6 @@ with gr.Blocks(css=CSS, title="VoiceForge AI β€” Text to Speech") as demo:
387
  label="",
388
  type="filepath",
389
  interactive=False,
390
- show_download_button=True,
391
  )
392
 
393
  stats_out = gr.Textbox(
@@ -435,5 +434,4 @@ with gr.Blocks(css=CSS, title="VoiceForge AI β€” Text to Speech") as demo:
435
  </div>
436
  """)
437
 
438
- if __name__ == "__main__":
439
- demo.launch()
 
317
  """
318
 
319
  # ── Build UI ──────────────────────────────────────────────────────────────────
320
+ with gr.Blocks(title="VoiceForge AI β€” Text to Speech") as demo:
321
 
322
  # Hero
323
  gr.HTML("""
 
387
  label="",
388
  type="filepath",
389
  interactive=False,
 
390
  )
391
 
392
  stats_out = gr.Textbox(
 
434
  </div>
435
  """)
436
 
437
+ demo.launch(css=CSS)