acumplid commited on
Commit
5f1db5b
·
1 Parent(s): 533d730

Included max threads

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -124,10 +124,9 @@ with gr.Blocks(**AinaGradioTheme().get_kwargs()) as demo:
124
  fn=submit_input,
125
  inputs=[input_],
126
  outputs=[output],
127
- concurrency_limit=1,
128
  api_name="get-results"
129
  )
130
 
131
  if __name__ == "__main__":
132
  demo.queue(api_open=False)
133
- demo.launch(show_api=True)
 
124
  fn=submit_input,
125
  inputs=[input_],
126
  outputs=[output],
 
127
  api_name="get-results"
128
  )
129
 
130
  if __name__ == "__main__":
131
  demo.queue(api_open=False)
132
+ demo.launch(max_threads=10, show_api=True)