Huggingface.js documentation

Antarmuka: Kredensial

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Antarmuka: Kredensial

Deprecated

Gunakan AccessToken sebagai gantinya. Lewatkan { accessToken: “hf…” } alih-alih { credentials: { accessToken: “hf…” } }

Properti

accessToken

• accessToken: string

Didefinisikan di

packages/hub/src/types/public.ts:34

Update on GitHub