cleanup references to p.sd_model

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-02-19 20:48:42 +01:00
parent 6a72aa8083
commit 47543663f9
14 changed files with 70 additions and 60 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class PromptEmbedder:
earlyout = self.checkcache(p)
if earlyout:
return
self.pipe = prepare_model(p.sd_model)
self.pipe = prepare_model(shared.sd_model)
if self.pipe is None:
log.error("Prompt encode: cannot find text encoder in model")
return