diff options
author | Sj-Si <sjw.jetty@gmail.com> | 2024-01-18 03:38:51 +0000 |
---|---|---|
committer | Sj-Si <sjw.jetty@gmail.com> | 2024-01-18 03:38:51 +0000 |
commit | f25c81a74462554890ac7327a30629b332db1084 (patch) | |
tree | e25f38eeee9a47c397d46879275235690f41897c /modules | |
parent | ccee26b0653b4f6778c107d68df52da27446abd2 (diff) | |
download | stable-diffusion-webui-gfx803-f25c81a74462554890ac7327a30629b332db1084.tar.gz stable-diffusion-webui-gfx803-f25c81a74462554890ac7327a30629b332db1084.tar.bz2 stable-diffusion-webui-gfx803-f25c81a74462554890ac7327a30629b332db1084.zip |
Fix embeddings add/remove to/from prompt on click bugs.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ui_extra_networks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py index 55cd1da2..5dd4e443 100644 --- a/modules/ui_extra_networks.py +++ b/modules/ui_extra_networks.py @@ -236,7 +236,7 @@ class ExtraNetworksPage: **{
"tabname": tabname,
"prompt": item["prompt"],
- "neg_prompt": item.get("negative_prompt", ""),
+ "neg_prompt": item.get("negative_prompt", "''"),
"allow_neg": str(self.allow_negative_prompt).lower(),
}
)
|