Update README.md
Browse files
README.md
CHANGED
@@ -32,8 +32,8 @@ Download model:
|
|
32 |
```python
|
33 |
from huggingface_hub import hf_hub_download
|
34 |
|
35 |
-
# automatically checks for cached file
|
36 |
-
model_file = hf_hub_download(repo_id='Jenthe/ECAPA2', filename='model.pt')
|
37 |
```
|
38 |
|
39 |
|
|
|
32 |
```python
|
33 |
from huggingface_hub import hf_hub_download
|
34 |
|
35 |
+
# automatically checks for cached file, optionally set `cache_dir` location
|
36 |
+
model_file = hf_hub_download(repo_id='Jenthe/ECAPA2', filename='model.pt', cache_dir=None)
|
37 |
```
|
38 |
|
39 |
|