hnmr293 / sd-webui-cutoff

Cutoff - Cutting Off Prompt Effect
Other
1.2k stars 85 forks source link

generation fails when there is no negative prompt #1

Closed thot-experiment closed 1 year ago

thot-experiment commented 1 year ago

repro steps

  1. attempt to generate something with addon enabled and no negative prompt

error

ValueError: max() arg is an empty sequence

Just making this in case someone else runs into the same issue, just make sure to include a negative prompt and everything works fine.

hnmr293 commented 1 year ago

Thanks for your feedback. I've fixed it. Update the extension and please try again.