mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +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
|
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…
Reference in New Issue
Block a user