mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-24 13:28:59 +01:00
Fix unexpected extensions load after gradio restart (#3965)
This commit is contained in:
parent
d9b0f2c9c3
commit
9858acee7b
@ -27,6 +27,7 @@ def apply_settings(extension, name):
|
||||
|
||||
def load_extensions():
|
||||
global state, setup_called
|
||||
state = {}
|
||||
for i, name in enumerate(shared.args.extensions):
|
||||
if name in available_extensions:
|
||||
if name != 'api':
|
||||
|
Loading…
Reference in New Issue
Block a user