Spaces:
Runtime error
Runtime error
Commit
•
67c34c4
1
Parent(s):
dbdb313
Add queue limit (#2)
Browse files- Add queue limit (94cf4a3aedd6dd80dde2fde72c6a620097526fd3)
Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>
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)
|