benibraz commited on
Commit
457544c
1 Parent(s): ce5e658

Enable queueing for txt2vid and img2vid presets in iface configuration for improved performance

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -568,6 +568,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
568
  ],
569
  outputs=txt2vid_output,
570
  concurrency_limit=1,
 
571
  )
572
 
573
  img2vid_preset.change(
@@ -585,6 +586,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
585
  ],
586
  outputs=img2vid_output,
587
  concurrency_limit=1,
 
588
  )
589
 
590
  if __name__ == "__main__":
 
568
  ],
569
  outputs=txt2vid_output,
570
  concurrency_limit=1,
571
+ queue=True,
572
  )
573
 
574
  img2vid_preset.change(
 
586
  ],
587
  outputs=img2vid_output,
588
  concurrency_limit=1,
589
+ queue=True,
590
  )
591
 
592
  if __name__ == "__main__":