Huggingface.js documentation

接口:凭证

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

接口:凭证

Deprecated

Use AccessToken instead. Pass { accessToken: “hf…” } instead of { credentials: { accessToken: “hf…” } }

属性

accessToken

• accessToken:string

定义于

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

Update on GitHub