mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 11:12:35 +00:00
fix for an error caused by skipping initialization, for realsies this time: TypeError: expected str, bytes or os.PathLike object, not NoneType
This commit is contained in:
@@ -334,6 +334,7 @@ def load_model(checkpoint_info=None):
|
||||
timer = Timer()
|
||||
|
||||
sd_model = None
|
||||
|
||||
try:
|
||||
with sd_disable_initialization.DisableInitialization():
|
||||
sd_model = instantiate_from_config(sd_config.model)
|
||||
|
Reference in New Issue
Block a user