mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Fix various typos with crate-ci/typos
This commit is contained in:
parent
e2a8745abc
commit
e3fa46f26f
36 changed files with 76 additions and 71 deletions
|
|
@ -45,7 +45,7 @@ def apply_prompt(p, x, xs):
|
|||
def apply_order(p, x, xs):
|
||||
token_order = []
|
||||
|
||||
# Initally grab the tokens from the prompt, so they can be replaced in order of earliest seen
|
||||
# Initially grab the tokens from the prompt, so they can be replaced in order of earliest seen
|
||||
for token in x:
|
||||
token_order.append((p.prompt.find(token), token))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue