Allow the webui to do multiple tasks simultaneously
This commit is contained in:
parent
584dd33424
commit
6d354bb50b
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def create_interface():
|
||||||
extensions_module.create_extensions_block() # Extensions block
|
extensions_module.create_extensions_block() # Extensions block
|
||||||
|
|
||||||
# Launch the interface
|
# Launch the interface
|
||||||
shared.gradio['interface'].queue()
|
shared.gradio['interface'].queue(concurrency_count=64)
|
||||||
with OpenMonkeyPatch():
|
with OpenMonkeyPatch():
|
||||||
shared.gradio['interface'].launch(
|
shared.gradio['interface'].launch(
|
||||||
prevent_thread_lock=True,
|
prevent_thread_lock=True,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue