zcxu-eric commited on
Commit
cd81f9f
1 Parent(s): 7c6241f

set queue max size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,5 +102,5 @@ with gr.Blocks() as demo:
102
  outputs=animation
103
  )
104
 
105
- demo.queue()
106
  demo.launch(share=True)
 
102
  outputs=animation
103
  )
104
 
105
+ demo.queue(max_size=10)
106
  demo.launch(share=True)