Unverified Commit 24d624a4 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

Add cache_dir to docs (#2624)

Improve docs
parent 251a34ad
......@@ -483,6 +483,9 @@ class DiffusionPipeline(ConfigMixin):
force_download (`bool`, *optional*, defaults to `False`):
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.
cache_dir (`Union[str, os.PathLike]`, *optional*):
Path to a directory in which a downloaded pretrained model configuration should be cached if the
standard cache should not be used.
resume_download (`bool`, *optional*, defaults to `False`):
Whether or not to delete incompletely received files. Will attempt to resume the download if such a
file exists.
......
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