Fixed issue with token replacements
This commit is contained in:
1 parent
3feb663a51
commit
92a086d5a5
3 files changed
+7
-6
No files matched your search
@@ -614,6 +614,7 @@ class StableDiffusion:
|
||||
return latents
|
||||
|
||||
def encode_prompt(self, prompt, num_images_per_prompt=1) -> PromptEmbeds:
|
||||
# sd1.5 embeddings are (bs, 77, 768)
|
||||
prompt = prompt
|
||||
# if it is not a list, make it one
|
||||
if not isinstance(prompt, list):
|
||||
|
||||
Reference in new issue
Block a user