@@ -418,7 +418,7 @@ my_local_checkpoint_path = hf_hub_download(
418
418
419
419
my_local_config_path = snapshot_download(
420
420
repo_id = " segmind/SSD-1B" ,
421
- allowed_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
421
+ allow_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
422
422
)
423
423
424
424
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(
438
438
439
439
my_local_config_path = snapshot_download(
440
440
repo_id = " segmind/SSD-1B" ,
441
- allowed_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
441
+ allow_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
442
442
local_dir = " my_local_config"
443
443
)
444
444
@@ -468,7 +468,7 @@ print("My local checkpoint: ", my_local_checkpoint_path)
468
468
469
469
my_local_config_path = snapshot_download(
470
470
repo_id = " segmind/SSD-1B" ,
471
- allowed_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
471
+ allow_patterns = [" *.json" , " **/*.json" , " *.txt" , " **/*.txt" ]
472
472
local_dir_use_symlinks = False ,
473
473
)
474
474
print (" My local config: " , my_local_config_path)
0 commit comments