[GH-ISSUE #52] Stable Diffusion prompts being changed before sending #40

Closed
opened 2026-10-15 18:03:41 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Halsey1006 on GitHub (Jun 10, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/52

When generating images using /sd, any periods in the prompt are being replaced by a comma and a space, such that if the below is entered;

"/sd a picture of a (black:1.25) cat"

The following is sent to SD

"a picture of a (black:1, 25) cat"

Originally created by @Halsey1006 on GitHub (Jun 10, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/52 When generating images using /sd, any periods in the prompt are being replaced by a comma and a space, such that if the below is entered; "/sd a picture of a (black:1.25) cat" The following is sent to SD "a picture of a (black:1, 25) cat"
Author
Owner

@Cohee1207 commented on GitHub (Jun 12, 2023):

Fixed in dev branch. /sd free mode no longer sanitizes prompts
github.com/SillyTavern/SillyTavern@eea8516879

<!-- gh-comment-id:1587172025 --> @Cohee1207 commented on GitHub (Jun 12, 2023): Fixed in dev branch. /sd free mode no longer sanitizes prompts https://github.com/SillyTavern/SillyTavern/commit/eea8516879bf95213c1ebb1ac64c7d72995b6876
Author
Owner

@Halsey1006 commented on GitHub (Jun 16, 2023):

Now working as expected, thanks!

<!-- gh-comment-id:1595112542 --> @Halsey1006 commented on GitHub (Jun 16, 2023): Now working as expected, thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#40
No description provided.