Madras1 commited on
Commit
1a65865
·
verified ·
1 Parent(s): d789fc1

Upload 4 files

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -101,15 +101,7 @@ def synthesize(text: str, voice: str, speed: float) -> tuple[str, str]:
101
  return str(output_path), details
102
 
103
 
104
- with gr.Blocks(
105
- title=SPACE_TITLE,
106
- css=CSS,
107
- theme=gr.themes.Soft(
108
- primary_hue="amber",
109
- secondary_hue="teal",
110
- neutral_hue="slate",
111
- ),
112
- ) as demo:
113
  with gr.Column(elem_classes="voicelek-shell"):
114
  gr.Markdown(
115
  """
@@ -170,4 +162,12 @@ with gr.Blocks(
170
  demo.queue(default_concurrency_limit=1, max_size=16)
171
 
172
  if __name__ == "__main__":
173
- demo.launch(show_api=True)
 
 
 
 
 
 
 
 
 
101
  return str(output_path), details
102
 
103
 
104
+ with gr.Blocks(title=SPACE_TITLE) as demo:
 
 
 
 
 
 
 
 
105
  with gr.Column(elem_classes="voicelek-shell"):
106
  gr.Markdown(
107
  """
 
162
  demo.queue(default_concurrency_limit=1, max_size=16)
163
 
164
  if __name__ == "__main__":
165
+ demo.launch(
166
+ theme=gr.themes.Soft(
167
+ primary_hue="amber",
168
+ secondary_hue="teal",
169
+ neutral_hue="slate",
170
+ ),
171
+ css=CSS,
172
+ footer_links=["api", "gradio", "settings"],
173
+ )