Update app.py
Browse files
app.py
CHANGED
|
@@ -1841,7 +1841,8 @@ if __name__ == "__main__":
|
|
| 1841 |
|
| 1842 |
# Set queue concurrency high enough to handle rapid yields/clicks?
|
| 1843 |
# Default is 1, maybe increase slightly if needed, but be wary of race conditions
|
| 1844 |
-
demo.queue(
|
|
|
|
| 1845 |
log_message("Starting Gradio server...")
|
| 1846 |
try:
|
| 1847 |
# Use share=True for testing across devices if needed, otherwise False
|
|
|
|
| 1841 |
|
| 1842 |
# Set queue concurrency high enough to handle rapid yields/clicks?
|
| 1843 |
# Default is 1, maybe increase slightly if needed, but be wary of race conditions
|
| 1844 |
+
demo.queue(max_size=20)
|
| 1845 |
+
|
| 1846 |
log_message("Starting Gradio server...")
|
| 1847 |
try:
|
| 1848 |
# Use share=True for testing across devices if needed, otherwise False
|