This commit is contained in:
Vladimir Mandic
2024-01-05 12:08:28 -05:00
parent 56ffd2f5f5
commit 99c2a9fec7
+1
View File
@@ -16,6 +16,7 @@ class ModelData:
if self.sd_model is None and shared.opts.sd_model_checkpoint != 'None' and not self.lock.locked():
with self.lock:
try:
# note: reload_model_weights directly updates model_data.sd_model and returns it at the end
self.sd_model = reload_model_weights(op='model')
self.initial = False
except Exception as e: