Skip to content
DocsTry Aspire
DocsTry

withHuggingFaceToken

Method
📦 CommunityToolkit.Aspire.Hosting.StableDiffusionCpp v13.5.0
interface StableDiffusionCppResource {
// ... omitted for brevity
withHuggingFaceToken(token: ParameterResource): StableDiffusionCppResource;
}

Signature

methodwithHuggingFaceTokenbuilder
Supplies a Hugging Face access token for gated or private repositories.
withHuggingFaceToken(token: ParameterResource): StableDiffusionCppResource
tokenParameterResource
StableDiffusionCppResource

Applies to

This method applies to the following types: