Fix unexpected extensions load after gradio restart (#3965)
This commit is contained in:
parent
d9b0f2c9c3
commit
9858acee7b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue