aisuko commited on
Commit
f969997
1 Parent(s): 32a1505

Fix deprecation

Browse files

Signed-off-by: Aisuko <[email protected]>

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -213,5 +213,4 @@ with gr.Blocks() as blocks:
213
  outputs=[result_image],
214
  )
215
 
216
- blocks.queue(concurrency_count=1, max_size=2)
217
- blocks.launch()
 
213
  outputs=[result_image],
214
  )
215
 
216
+ blocks.launch(max_threads=2)