Skip to content

Commit 31b211b

Browse files
authored
Fix mistake in Single File Docs page (#8765)
update
1 parent 610a71d commit 31b211b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/en/using-diffusers/other-formats.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ my_local_checkpoint_path = hf_hub_download(
418418

419419
my_local_config_path = snapshot_download(
420420
repo_id="segmind/SSD-1B",
421-
allowed_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
421+
allow_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
422422
)
423423

424424
pipeline = StableDiffusionXLPipeline.from_single_file(my_local_checkpoint_path, config=my_local_config_path, local_files_only=True)
@@ -438,7 +438,7 @@ my_local_checkpoint_path = hf_hub_download(
438438

439439
my_local_config_path = snapshot_download(
440440
repo_id="segmind/SSD-1B",
441-
allowed_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
441+
allow_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
442442
local_dir="my_local_config"
443443
)
444444

@@ -468,7 +468,7 @@ print("My local checkpoint: ", my_local_checkpoint_path)
468468

469469
my_local_config_path = snapshot_download(
470470
repo_id="segmind/SSD-1B",
471-
allowed_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
471+
allow_patterns=["*.json", "**/*.json", "*.txt", "**/*.txt"]
472472
local_dir_use_symlinks=False,
473473
)
474474
print("My local config: ", my_local_config_path)

0 commit comments

Comments
 (0)