mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
cleanup references to p.sd_model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user