davanstrien HF Staff commited on
Commit
a3d216f
·
1 Parent(s): 0127443

up concurrency

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -331,7 +331,8 @@ This app will check your model's metadata for a few common issues."""
331
  markdown = gr.Number()
332
  button.click(_basic_check, text, markdown)
333
 
334
- demo.launch(debug=True)
 
335
 
336
 
337
  # gr.Interface(fn=basic_check, inputs="text", outputs="markdown").launch(debug=True)
 
331
  markdown = gr.Number()
332
  button.click(_basic_check, text, markdown)
333
 
334
+ demo.queue(concurrency_count=8, max_size=5)
335
+ demo.launch()
336
 
337
 
338
  # gr.Interface(fn=basic_check, inputs="text", outputs="markdown").launch(debug=True)