ZeldaFan0225/AI_Horde_Discord

BUG

Closed this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

On /generate the negative prompt ### gets inserted even though the negative prompt string is empty

To Reproduce
Steps to reproduce the behavior:

  1. use /generate
  2. don't give a negative prompt
  3. send

Expected behavior
A clear and concise description of what you expected to happen.

No ### gets appended if no negative prompt is given

Additional context
Add any other context about the problem here.

Fix by checking if string is empty