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

[docs] Fix docstring (#3334)



fix docstring
Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
parent f381402e
...@@ -531,7 +531,7 @@ class DiffusionPipeline(ConfigMixin): ...@@ -531,7 +531,7 @@ class DiffusionPipeline(ConfigMixin):
""" """
Save all variables of the pipeline that can be saved and loaded as well as the pipelines configuration file to Save all variables of the pipeline that can be saved and loaded as well as the pipelines configuration file to
a directory. A pipeline variable can be saved and loaded if its class implements both a save and loading a directory. A pipeline variable can be saved and loaded if its class implements both a save and loading
method. The pipeline can easily be re-loaded using the `[`~DiffusionPipeline.from_pretrained`]` class method. method. The pipeline can easily be re-loaded using the [`~DiffusionPipeline.from_pretrained`] class method.
Arguments: Arguments:
save_directory (`str` or `os.PathLike`): save_directory (`str` or `os.PathLike`):
......
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