Spaces:
PAIR
/
Running on A10G

Andranik Sargsyan commited on
Commit
a973c78
β€’
1 Parent(s): 29ac50c

limit queue max_size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -347,5 +347,5 @@ with gr.Blocks(css='style.css') as demo:
347
  _js="function(a, b, c, d, e, f, g){ return [a, b, c, d, e, f, selected_gallery_index()] }",
348
  )
349
 
350
- demo.queue()
351
  demo.launch(share=True, allowed_paths=[TMP_DIR])
 
347
  _js="function(a, b, c, d, e, f, g){ return [a, b, c, d, e, f, selected_gallery_index()] }",
348
  )
349
 
350
+ demo.queue(max_size=20)
351
  demo.launch(share=True, allowed_paths=[TMP_DIR])