mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-01 05:11:19 -08:00
fix removing neg_prompt
This commit is contained in:
parent
ab4a5378c6
commit
b487c5c7c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ function extraNetworksSelectModel({tab, prompt, neg_prompt, allow_neg, checkpoin
|
|||
selectCheckpoint(checkpoint_name);
|
||||
} else if (neg_prompt) {
|
||||
extraNetworksUpdatePrompt(tab.txt_prompt_elem, prompt);
|
||||
extraNetworksUpdatePrompt(tab.txt_neg_prompt_elem, neg_prompt);
|
||||
extraNetworksUpdatePrompt(tab.txt_neg_prompt_elem, neg_prompt, true);
|
||||
} else if (allow_neg) {
|
||||
extraNetworksUpdatePrompt(tab.active_prompt_elem, prompt);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue