aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorSj-Si <sjw.jetty@gmail.com>2024-01-17 22:38:51 -0500
committerSj-Si <sjw.jetty@gmail.com>2024-01-17 22:38:51 -0500
commitf25c81a74462554890ac7327a30629b332db1084 (patch)
treee25f38eeee9a47c397d46879275235690f41897c /modules/ui_extra_networks.py
parentccee26b0653b4f6778c107d68df52da27446abd2 (diff)
Fix embeddings add/remove to/from prompt on click bugs.
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r--modules/ui_extra_networks.py2
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(),
}
)