AmericanPresidentJimmyCarter / yasd-discord-bot

Yet Another Stable Diffusion Discord Bot
MIT License
112 stars 15 forks source link

Riff with set mask prompt and set strength fails #73

Open Kadah opened 1 year ago

Kadah commented 1 year ago

When trying to riff a result or from an image upload, if the prompt has a mask defined and a riff strength has been selected, the riff will fail with the following error.

Got unknown error on riff "SomeDocID" index 0 type Exception! list index out of range

Console output or traceback isn't give any extra details other than the line that raises the exception. https://github.com/AmericanPresidentJimmyCarter/yasd-discord-bot/blob/master/src/actions/__init__.py#L294

Kadah commented 1 year ago

Upscale will also throw the same error if changed from the default selection.

I personally don't use my bot all that often and my users almost never touch the settings cause they are lazy, so I didn't notice this this till reccently.

AmericanPresidentJimmyCarter commented 1 year ago

Does the prompt_mask feature work normally? I just tried changing the riff strength from the dropdown and there is no issue setting the prompt mask and then riffing for me.