mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
re-enable the embedding manager; closes #1778
This commit is contained in:
parent
6e4dad60c8
commit
87b60582bd
@ -562,7 +562,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):
|
|||||||
"""
|
"""
|
||||||
Compatibility function for ldm.models.diffusion.ddpm.LatentDiffusion.
|
Compatibility function for ldm.models.diffusion.ddpm.LatentDiffusion.
|
||||||
"""
|
"""
|
||||||
return self.clip_embedder.encode(c, return_tokens=return_tokens, fragment_weights=fragment_weights)
|
return self.clip_embedder.encode(c, return_tokens=return_tokens, fragment_weights=fragment_weights, embedding_manager=self.embedding_manager)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cond_stage_model(self):
|
def cond_stage_model(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user