AvaLovelace commited on
Commit
287f91c
·
1 Parent(s): a193384

Revert "Add max size to queue"

Browse files

This reverts commit a1933840a7c37872921eb3457dc268b4df288e42.

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -87,8 +87,7 @@ def main():
87
  )
88
 
89
  concurrency_limit = 2 if os.environ.get('CONCURRENCY_LIMIT') is None else int(os.environ.get('CONCURRENCY_LIMIT'))
90
- max_size = 5 if os.environ.get('MAX_QUEUE_SIZE') is None else int(os.environ.get('MAX_QUEUE_SIZE'))
91
- demo.queue(default_concurrency_limit=concurrency_limit, max_size=max_size)
92
  demo.launch(share=True)
93
 
94
 
 
87
  )
88
 
89
  concurrency_limit = 2 if os.environ.get('CONCURRENCY_LIMIT') is None else int(os.environ.get('CONCURRENCY_LIMIT'))
90
+ demo.queue(default_concurrency_limit=concurrency_limit)
 
91
  demo.launch(share=True)
92
 
93