StableDiffusionCppResource.addNamedHuggingFaceModel
Method
interface StableDiffusionCppResource { // ... omitted for brevity addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResource;}Signature
method
addNamedHuggingFaceModel builderAdds a named Hugging Face model that is downloaded before the container starts.
addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResourceParameters
namestringrepositorystringfileName stringrevisionstringoptional= mainReturns
StableDiffusionCppModelResource Defined on
This method is defined on the following type: