CFG: Don't trim when getting prompt

Let the user figure it out. Whitespace in CFG is important.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2023-08-24 17:57:49 -04:00
parent 1900ab9726
commit 0bc2ef2a33
1 changed files with 0 additions and 3 deletions

View File

@ -57,7 +57,6 @@ export function getCfgPrompt(guidanceScale, isNegative) {
substituteParams(
chat_metadata[isNegative ? metadataKeys.negative_prompt : metadataKeys.positive_prompt]
)
?.trim()
);
}
@ -67,7 +66,6 @@ export function getCfgPrompt(guidanceScale, isNegative) {
substituteParams(
isNegative ? charaCfg.negative_prompt : charaCfg.positive_prompt
)
?.trim()
);
}
@ -76,7 +74,6 @@ export function getCfgPrompt(guidanceScale, isNegative) {
substituteParams(
isNegative ? extension_settings.cfg.global.negative_prompt : extension_settings.cfg.global.positive_prompt
)
?.trim()
);
}