[diffusion] chore: clean excessive document (#16986)

This commit is contained in:
Mick
2026-01-13 21:33:50 +08:00
committed by GitHub
parent 888d7e54d1
commit 7a869045b6
27 changed files with 36 additions and 236 deletions

View File

@@ -296,14 +296,7 @@ def load_dict(file_path):
def get_diffusers_component_config(
model_path: str,
) -> dict[str, Any]:
"""Gets a configuration of a submodule for the given diffusers model.
Args:
model_path: the path of the submodule (can be local path or HuggingFace model ID)
Returns:
The loaded configuration.
"""
"""Gets a configuration of a submodule for the given diffusers model."""
# Download from HuggingFace Hub if path doesn't exist locally
if not os.path.exists(model_path):