Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/diffusers/pipelines/pipeline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ def download(cls, pretrained_model_name, **kwargs) -> Union[str, os.PathLike]:
if module_candidate is None or not isinstance(module_candidate, str):
continue

candidate_file = os.path.join(component, module_candidate + ".py")
candidate_file = f"{component}/{module_candidate}.py"

if candidate_file in filenames:
custom_components[component] = module_candidate
Expand Down