1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[docs] Fix AutoPipeline docstring (#7779)

fix

Co-authored-by: YiYi Xu <yixu310@gmail.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
This commit is contained in:
Steven Liu
2024-04-26 10:09:36 -07:00
committed by GitHub
parent ebc99a77aa
commit e24e54fdfa

View File

@@ -216,7 +216,7 @@ class AutoPipelineForText2Image(ConfigMixin):
```
Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
@@ -489,7 +489,7 @@ class AutoPipelineForImage2Image(ConfigMixin):
```
Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
@@ -765,7 +765,7 @@ class AutoPipelineForInpainting(ConfigMixin):
```
Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline