Update README.md
Browse files
README.md
CHANGED
@@ -135,7 +135,7 @@ quality_prompt = "very aesthetic, best quality, newest"
|
|
135 |
negative_prompt = "very displeasing, displeasing, worst quality, bad quality, low quality, realistic, monochrome, comic, sketch, oldest, early, artist name, signature, blurry, simple background, upside down,"
|
136 |
num_images_per_prompt=1
|
137 |
|
138 |
-
# Encode prompts and quality prompts
|
139 |
# device, batch_size, num_images_per_prompt, cfg, prompt
|
140 |
prompt_embeds, prompt_embeds_pooled, _, _ = pipe.prior_pipe.encode_prompt(device, 1, num_images_per_prompt, False, prompt=prompt)
|
141 |
quality_prompt_embeds, _, _, _ = pipe.prior_pipe.encode_prompt(device, 1, num_images_per_prompt, False, prompt=quality_prompt)
|
|
|
135 |
negative_prompt = "very displeasing, displeasing, worst quality, bad quality, low quality, realistic, monochrome, comic, sketch, oldest, early, artist name, signature, blurry, simple background, upside down,"
|
136 |
num_images_per_prompt=1
|
137 |
|
138 |
+
# Encode prompts and quality prompts seperately:
|
139 |
# device, batch_size, num_images_per_prompt, cfg, prompt
|
140 |
prompt_embeds, prompt_embeds_pooled, _, _ = pipe.prior_pipe.encode_prompt(device, 1, num_images_per_prompt, False, prompt=prompt)
|
141 |
quality_prompt_embeds, _, _, _ = pipe.prior_pipe.encode_prompt(device, 1, num_images_per_prompt, False, prompt=quality_prompt)
|