File tree Expand file tree Collapse file tree
src/diffusers/modular_pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ def init_pipeline(
366366 collection : Optional [str ] = None ,
367367 ) -> "ModularPipeline" :
368368 """
369- create a ModularPipeline, optionally accept modular_pretrained_model_name_or_path to load from hub.
369+ create a ModularPipeline, optionally accept pretrained_model_name_or_path to load from hub.
370370 """
371371 pipeline_class_name = MODULAR_PIPELINE_MAPPING .get (self .model_name , ModularPipeline .__name__ )
372372 diffusers_module = importlib .import_module ("diffusers" )
@@ -1639,7 +1639,7 @@ def from_pretrained(
16391639 pretrained_model_name_or_path (`str` or `os.PathLike`, optional):
16401640 Path to a pretrained pipeline configuration. It will first try to load config from
16411641 `modular_model_index.json`, then fallback to `model_index.json` for compatibility with standard
1642- non-modular pretrained_model_name_or_pathsitories . If the pretrained_model_name_or_path does not contain any pipeline config, it will be set to None
1642+ non-modular repositories . If the pretrained_model_name_or_path does not contain any pipeline config, it will be set to None
16431643 during initialization.
16441644 trust_remote_code (`bool`, optional):
16451645 Whether to trust remote code when loading the pipeline, need to be set to True if you want to create
You can’t perform that action at this time.
0 commit comments