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