mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-10 07:34:00 +01:00
Allow the webui to do multiple tasks simultaneously
This commit is contained in:
parent
584dd33424
commit
6d354bb50b
|
|
@ -140,7 +140,7 @@ def create_interface():
|
|||
extensions_module.create_extensions_block() # Extensions block
|
||||
|
||||
# Launch the interface
|
||||
shared.gradio['interface'].queue()
|
||||
shared.gradio['interface'].queue(concurrency_count=64)
|
||||
with OpenMonkeyPatch():
|
||||
shared.gradio['interface'].launch(
|
||||
prevent_thread_lock=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue