Spaces:
Runtime error
Runtime error
Add queue limit
#2
by
osanseviero
- opened
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)
|