mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-02 05:43:39 -08:00
remove strip
This commit is contained in:
parent
d79f9cc311
commit
2852fd6a76
1 changed files with 4 additions and 4 deletions
|
|
@ -453,8 +453,8 @@ class ExtraNetworksPage:
|
|||
"data-name": f'"{data_name}"',
|
||||
"data-path": f'"{data_path}"',
|
||||
"data-hash": item.get("shorthash", None),
|
||||
"data-prompt": item.get("prompt", "").strip(),
|
||||
"data-neg-prompt": item.get("negative_prompt", "").strip(),
|
||||
"data-prompt": item.get("prompt", ""),
|
||||
"data-neg-prompt": item.get("negative_prompt", ""),
|
||||
"data-allow-neg": self.allow_negative_prompt,
|
||||
}
|
||||
|
||||
|
|
@ -714,8 +714,8 @@ class ExtraNetworksPage:
|
|||
"data-depth": node.depth,
|
||||
"data-path": f'"{data_path}"',
|
||||
"data-hash": node.item.get("shorthash", None),
|
||||
"data-prompt": node.item.get("prompt", "").strip(),
|
||||
"data-neg-prompt": node.item.get("negative_prompt", "").strip(),
|
||||
"data-prompt": node.item.get("prompt", ""),
|
||||
"data-neg-prompt": node.item.get("negative_prompt", ""),
|
||||
"data-allow-neg": self.allow_negative_prompt,
|
||||
}
|
||||
# Special case for checkpoints since they need to switch model on click.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue