Update expansion.py

This commit is contained in:
w-e-w
2024-06-09 19:43:23 +09:00
parent 14dbf81da4
commit 4f2a4488a4

View File

@@ -185,8 +185,7 @@ class FooocusPromptExpansion(scripts.Script):
return
for i, prompt in enumerate(p.all_prompts):
positive_prompt = create_positive(prompt, seed)
p.all_prompts[i] = positive_prompt
p.all_prompts[i] = create_positive(prompt, seed)
def save_prompt_box(self, on_component):
self.prompt_elm = on_component.component