mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
add native hf auth check
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -549,6 +549,9 @@ def load_diffuser(checkpoint_info=None, already_loaded_state_dict=None, timer=No
|
||||
# load with custom loader
|
||||
if sd_model is None:
|
||||
sd_model = load_diffuser_force(model_type, checkpoint_info, diffusers_load_config, op)
|
||||
if sd_model is not None and not sd_model:
|
||||
shared.log.error(f'Load {op}: type="{model_type}" pipeline="{pipeline}" not loaded')
|
||||
return
|
||||
|
||||
# load from hf folder-style
|
||||
if sd_model is None:
|
||||
|
||||
Reference in New Issue
Block a user