freddyaboulton HF staff commited on
Commit
f62d389
1 Parent(s): 149a64a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,7 +108,8 @@ with gr.Blocks(css=css) as demo:
108
  fn=detection,
109
  inputs=[image, conf_threshold],
110
  stream_every=0.05,
111
- time_limit=30
 
112
  )
113
 
114
  if __name__ == '__main__':
 
108
  fn=detection,
109
  inputs=[image, conf_threshold],
110
  stream_every=0.05,
111
+ time_limit=30,
112
+ concurrency_limit=10
113
  )
114
 
115
  if __name__ == '__main__':