Uniaff commited on
Commit
cef6ce0
·
verified ·
1 Parent(s): 2f4dbe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -82,6 +82,7 @@ with gr.Blocks() as ui:
82
  generate,
83
  inputs=[video, audio, checkpoint, no_smooth, resize_factor, pad_top, pad_bottom, pad_left, pad_right],
84
  outputs=result
85
- )
 
86
 
87
- ui.queue(concurrency_count=1).launch(debug=True)
 
82
  generate,
83
  inputs=[video, audio, checkpoint, no_smooth, resize_factor, pad_top, pad_bottom, pad_left, pad_right],
84
  outputs=result
85
+ concurrency_limit=1 # Устанавливаем лимит на количество одновременно выполняемых операций
86
+ )
87
 
88
+ ui.launch(debug=True)