osanseviero commited on
Commit
94cf4a3
1 Parent(s): dbdb313

Add queue limit

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -78,5 +78,6 @@ with gr.Blocks(css='style.css') as demo:
78
  </div>
79
  """)
80
 
 
81
  demo.launch(debug=True)
82
  # demo.queue(api_open=False).launch(file_directories=['temporal'], share=True)
 
78
  </div>
79
  """)
80
 
81
+ demo.queue(max_size=20)
82
  demo.launch(debug=True)
83
  # demo.queue(api_open=False).launch(file_directories=['temporal'], share=True)