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