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