StableDiffusionCppResource.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
StableDiffusionCppModelResourceDefined on
This method is defined on the following type: