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:
parent
1900ab9726
commit
0bc2ef2a33
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue