We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f453b commit 58389ebCopy full SHA for 58389eb
packages/hub/README.md
@@ -135,7 +135,7 @@ Note: this does not work in the browser
135
You can cache a file of a repository using the `downloadFileToCacheDir` function.
136
137
```ts
138
-import { snapshotDownload } from "@huggingface/hub";
+import { downloadFileToCacheDir } from "@huggingface/hub";
139
140
const file = await downloadFileToCacheDir({
141
repo: 'foo/bar',
0 commit comments