Fix embeddings add/remove to/from prompt on click bugs.

This commit is contained in:
Sj-Si
2024-01-17 22:38:51 -05:00
parent ccee26b065
commit f25c81a744
2 changed files with 4 additions and 11 deletions

View File

@@ -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(),
}
)