@@ -418,7 +418,7 @@ my_local_checkpoint_path = hf_hub_download(
418418
419419my_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
424424pipeline = 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
439439my_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
469469my_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)
474474print (" My local config: " , my_local_config_path)
0 commit comments