basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 467 forks source link

Add Negative Prompt Supported. #244

Open ytooyama opened 11 months ago

ytooyama commented 11 months ago

How to Use

Use --negative-prompt-file option

python optimizedSD/my_txt2img.py --ckpt ~/sd-data/v1-5-pruned-emaonly.ckpt --from-file /path/to/prompt.txt --negative-prompt-file /path/to/negative_prompt.txt --H 512 --W 512 --n_iter 1 --n_samples 1 --ddim_steps 50 --sampler euler_a --turbo