Skip to content

Commit 58389eb

Browse files
committed
docs: typo
1 parent 92f453b commit 58389eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Note: this does not work in the browser
135135
You can cache a file of a repository using the `downloadFileToCacheDir` function.
136136

137137
```ts
138-
import { snapshotDownload } from "@huggingface/hub";
138+
import { downloadFileToCacheDir } from "@huggingface/hub";
139139

140140
const file = await downloadFileToCacheDir({
141141
repo: 'foo/bar',

0 commit comments

Comments
 (0)