Skip to content

Commit 264ffce

Browse files
committed
fix
1 parent 890a01f commit 264ffce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/model_search/pipeline_easy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,9 +1081,9 @@ def auto_load_textual_inversion(
10811081
f"textual_inversion_path: {search_word} -> {textual_inversion_path.model_status.site_url}"
10821082
)
10831083

1084-
pretrained_model_name_or_paths[pretrained_model_name_or_paths.index(search_word)] = (
1085-
textual_inversion_path.model_path
1086-
)
1084+
pretrained_model_name_or_paths[
1085+
pretrained_model_name_or_paths.index(search_word)
1086+
] = textual_inversion_path.model_path
10871087

10881088
self.load_textual_inversion(
10891089
pretrained_model_name_or_paths, token=tokens, tokenizer=tokenizer, text_encoder=text_encoder, **kwargs
@@ -1358,7 +1358,7 @@ def from_civitai(cls, pretrained_model_link_or_path, **kwargs):
13581358
<Tip>
13591359
13601360
To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in with
1361-
`hf auth login
1361+
`hf auth login`.
13621362
13631363
</Tip>
13641364
@@ -1507,7 +1507,7 @@ def from_huggingface(cls, pretrained_model_link_or_path, **kwargs):
15071507
<Tip>
15081508
15091509
To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in with
1510-
`hf auth login
1510+
`hf auth login`.
15111511
15121512
</Tip>
15131513
@@ -1617,7 +1617,7 @@ def from_civitai(cls, pretrained_model_link_or_path, **kwargs):
16171617
<Tip>
16181618
16191619
To use private or [gated](https://huggingface.co/docs/hub/models-gated#gated-models) models, log-in with
1620-
`hf auth login
1620+
`hf auth login`.
16211621
16221622
</Tip>
16231623

0 commit comments

Comments
 (0)