Update app.py
Browse files
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()
|