Unverified Commit e24e54fd authored by Steven Liu's avatar Steven Liu Committed by GitHub
Browse files

[docs] Fix AutoPipeline docstring (#7779)



fix
Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
parent ebc99a77
...@@ -216,7 +216,7 @@ class AutoPipelineForText2Image(ConfigMixin): ...@@ -216,7 +216,7 @@ class AutoPipelineForText2Image(ConfigMixin):
``` ```
Parameters: Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*): pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either: Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
...@@ -489,7 +489,7 @@ class AutoPipelineForImage2Image(ConfigMixin): ...@@ -489,7 +489,7 @@ class AutoPipelineForImage2Image(ConfigMixin):
``` ```
Parameters: Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*): pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either: Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
...@@ -765,7 +765,7 @@ class AutoPipelineForInpainting(ConfigMixin): ...@@ -765,7 +765,7 @@ class AutoPipelineForInpainting(ConfigMixin):
``` ```
Parameters: Parameters:
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*): pretrained_model_or_path (`str` or `os.PathLike`, *optional*):
Can be either: Can be either:
- A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline - A string, the *repo id* (for example `CompVis/ldm-text2im-large-256`) of a pretrained pipeline
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment