mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
settings option to disable reference models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -15,7 +15,7 @@ class ExtraNetworksPageCheckpoints(ui_extra_networks.ExtraNetworksPage):
|
||||
shared.refresh_checkpoints()
|
||||
|
||||
def list_reference(self): # pylint: disable=inconsistent-return-statements
|
||||
if not shared.opts.sd_checkpoint_autodownload:
|
||||
if not shared.opts.sd_checkpoint_autodownload or not shared.opts.extra_network_reference_enable:
|
||||
return []
|
||||
for k, v in shared.reference_models.items():
|
||||
if not shared.native:
|
||||
|
||||
Reference in New Issue
Block a user