Sayoyo mrfakename commited on
Commit
65fbe9a
·
verified ·
1 Parent(s): 5ea38a5

Increase concurrency limit (#6)

Browse files

- Update app.py (74522c2205a9c6f19594c68c46a29073c0aad32b)


Co-authored-by: mrfakename <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def main(args):
35
  text2music_process_func=model_demo.__call__,
36
  sample_data_func=data_sampler.sample,
37
  )
38
- demo.launch(
39
 
40
  )
41
 
 
35
  text2music_process_func=model_demo.__call__,
36
  sample_data_func=data_sampler.sample,
37
  )
38
+ demo.queue(default_concurrency_limit=8).launch(
39
 
40
  )
41