DigiP-AI commited on
Commit
f188212
·
verified ·
1 Parent(s): 1555e70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -190,4 +190,8 @@ with gr.Blocks(css=css, theme=theme) as app:
190
  out_html=gr.HTML()
191
  outp=gr.Gallery()
192
  btn.click(run_dif_color,[inp,model_drop,cnt,col,tint],[outp,out_html])
 
 
 
 
193
  app.launch()
 
190
  out_html=gr.HTML()
191
  outp=gr.Gallery()
192
  btn.click(run_dif_color,[inp,model_drop,cnt,col,tint],[outp,out_html])
193
+ app.queue(default_concurrency_limit=200, max_size=200) # <-- Sets up a queue with default parameters
194
+
195
+ if __name__ == "__main__":
196
+ timeout = 100
197
  app.launch()