mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Fix up string formatting/concatenation to f-strings where feasible
This commit is contained in:
parent
8fb16ceb28
commit
3ba6c3c83c
34 changed files with 121 additions and 101 deletions
|
|
@ -84,7 +84,7 @@ class Script(scripts.Script):
|
|||
p.color_corrections = initial_color_corrections
|
||||
|
||||
if append_interrogation != "None":
|
||||
p.prompt = original_prompt + ", " if original_prompt != "" else ""
|
||||
p.prompt = f"{original_prompt}, " if original_prompt else ""
|
||||
if append_interrogation == "CLIP":
|
||||
p.prompt += shared.interrogator.interrogate(p.init_images[0])
|
||||
elif append_interrogation == "DeepBooru":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue