Skip to content

Commit c913f2e

Browse files
committed
🚑 fix embed error when no negative prompt
1 parent 8c0c102 commit c913f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/SD/createImageEmbed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = async (data, settings = {upscaleBtn: true, redoBtn: false, addi
4747
},
4848
{
4949
name: "Negative Prompt",
50-
value: imageParams.negative_prompt.toString(),
50+
value: imageParams.negative_prompt.toString() || " ",
5151
inline: true
5252
}
5353
])

0 commit comments

Comments
 (0)