Skip to content

Commit

Permalink
🚑 fix embed error when no negative prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
ImDarkTom committed Jan 14, 2024
1 parent 8c0c102 commit c913f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/SD/createImageEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = async (data, settings = {upscaleBtn: true, redoBtn: false, addi
},
{
name: "Negative Prompt",
value: imageParams.negative_prompt.toString(),
value: imageParams.negative_prompt.toString() || " ",
inline: true
}
])
Expand Down

0 comments on commit c913f2e

Please sign in to comment.