mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
parent
3e3a7c4250
commit
70c637bf90
@ -233,7 +233,9 @@ def save_settings(state, preset, extensions_list, show_controls, theme_state):
|
||||
|
||||
# Save extension values in the UI
|
||||
for extension_name in extensions_list:
|
||||
extension = getattr(extensions, extension_name).script
|
||||
extension = getattr(extensions, extension_name, None)
|
||||
if extension:
|
||||
extension = extension.script
|
||||
if hasattr(extension, 'params'):
|
||||
params = getattr(extension, 'params')
|
||||
for param in params:
|
||||
|
Loading…
Reference in New Issue
Block a user