Skip to content
DocsTry Aspire
DocsTry

StableDiffusionCppResource.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

Defined on

This method is defined on the following type: