Skip to content

Commit ed7ce42

Browse files
committed
code style
1 parent d33cd26 commit ed7ce42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/hub/models-adding-libraries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ For example, download the `config.json` file from the [lysandre/arxiv-nlp](https
7878
If your library needs to download an entire repository, use [`snapshot_download`](https://huggingface.co/docs/huggingface_hub/main/en/package_reference/file_download#huggingface_hub.snapshot_download). It will take care of downloading all the files in parallel. The return value is a path to the directory containing the downloaded files.
7979

8080
```py
81-
from huggingface_hub import snapshot_download
82-
snapshot_download(repo_id="lysandre/arxiv-nlp")
81+
>>> from huggingface_hub import snapshot_download
82+
>>> snapshot_download(repo_id="lysandre/arxiv-nlp")
8383
'/home/lysandre/.cache/huggingface/hub/models--lysandre--arxiv-nlp/snapshots/894a9adde21d9a3e3843e6d5aeaaf01875c7fade'
8484
```
8585

0 commit comments

Comments
 (0)