rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1k stars 87 forks source link

Longer token prompts and negative #207

Closed KintCark closed 1 day ago

KintCark commented 1 week ago

Hey I got another idea please add 150 token limit I noticed it caps at 77 but it would be nice if we could make longer prompts. Also add negative prompt feature for lcm mode

rupeshs commented 1 week ago

@KintCark The Current token limit is 77. Regarding negative prompts in LCM mode use a guidance scale greater than 1 ( Please note that (guidance scale >1) memory usage will increase and image generation will become slower)

KintCark commented 1 week ago

@KintCark The Current token limit is 77. Regarding negative prompts in LCM mode use a guidance scale greater than 1 ( Please note that (guidance scale >1) memory usage will increase and image generation will become slower)

But when I did that in the console it says: not using lcm-lora mode setting guidance scale to 1.0 it automatically sets the scale back to 1 if I'm not using lcm-lora mode?

Please help me understand that sentence 🙏

rupeshs commented 1 day ago

@KintCark Negative prompt only works in the LCM Lora mode (See the screenshot) image

rupeshs commented 1 day ago

longer prompt support duplicate #28