Irpan commited on
Commit
739808f
·
1 Parent(s): e97ae37
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,7 +62,7 @@ with gr.Blocks() as app:
62
  # TTS
63
  with gr.Group():
64
  with gr.Row():
65
- example_audio = gr.Audio(label="(Optional) Generate AI Pronunciation")
66
  with gr.Row():
67
  tts_btn = gr.Button("Generate AI Pronunciation")
68
  # ASR
@@ -149,5 +149,5 @@ with gr.Blocks() as app:
149
 
150
  # Main
151
  if __name__ == "__main__":
152
- app.queue(default_concurrency_limit = 4, max_size=20) # <-- Sets up a queue with default parameters
153
  app.launch()
 
62
  # TTS
63
  with gr.Group():
64
  with gr.Row():
65
+ example_audio = gr.Audio(label="(OPTIONAL) Generate AI Pronunciation")
66
  with gr.Row():
67
  tts_btn = gr.Button("Generate AI Pronunciation")
68
  # ASR
 
149
 
150
  # Main
151
  if __name__ == "__main__":
152
+ app.queue(default_concurrency_limit = 2, max_size=20) # <-- Sets up a queue with default parameters
153
  app.launch()