doc: fix Pipeline docstring

This commit is contained in:
huisman authored and GitHub committed 2024-08-19 17:17:55 +02:00
1 parent 286ea1a4e3
commit 0ea4c025ee
1 file changed
+2 -1
+2 -1
View File
@@ -69,7 +69,8 @@ class Pipeline(_Pipeline):
to True or to a string containing your hugginface.co authentication
token that can be obtained by running `huggingface-cli login`
cache_dir: Path or str, optional
Path to model cache directory. Defauorch/pyannote" when unset.
Path to model cache directory. Defaults to content of PYANNOTE_CACHE
environment variable, or "~/.cache/torch/pyannote" when unset.
"""
checkpoint_path = str(checkpoint_path)