addNamedHuggingFaceModel
Method
interface StableDiffusionCppResource { // ... omitted for brevity addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResource;}Signature
method
addNamedHuggingFaceModelbuilderAdds a named Hugging Face model that is downloaded before the container starts.
addNamedHuggingFaceModel( name: string, repository: string, fileName: string, revision?: string): StableDiffusionCppModelResourceParameters
namestringrepositorystringfileNamestringrevisionstringoptional= mainReturns
StableDiffusionCppModelResourceApplies to
This method applies to the following types: