Skip to content

Commit e24e54f

Browse files
stevhliuyiyixuxusayakpaul
authored
[docs] Fix AutoPipeline docstring (#7779)
fix Co-authored-by: YiYi Xu <[email protected]> Co-authored-by: Sayak Paul <[email protected]>
1 parent ebc99a7 commit e24e54f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffusers/pipelines/auto_pipeline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def from_pretrained(cls, pretrained_model_or_path, **kwargs):
216216
```
217217
218218
Parameters:
219-
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
219+
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
220220
Can be either:
221221
222222
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
@@ -489,7 +489,7 @@ def from_pretrained(cls, pretrained_model_or_path, **kwargs):
489489
```
490490
491491
Parameters:
492-
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
492+
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
493493
Can be either:
494494
495495
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
@@ -765,7 +765,7 @@ def from_pretrained(cls, pretrained_model_or_path, **kwargs):
765765
```
766766
767767
Parameters:
768-
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
768+
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
769769
Can be either:
770770
771771
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline

0 commit comments

Comments
 (0)