StableDiffusionCppModelResource
Classsealednet10.0
Represents a model hosted by stable-diffusion.cpp and downloaded from Hugging Face.
namespace Aspire.Hosting.ApplicationModel;
public sealed class StableDiffusionCppModelResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.StableDiffusionCppResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<StableDiffusionCppResource>IValueProviderIValueWithReferences
6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Describes the connection string format string used for this resource.
FileNamegetstring Gets the model file path inside the Hugging Face repository.
Parentget Gets the parent stable-diffusion.cpp server.
Repositorygetstring Gets the Hugging Face repository identifier.
Revisiongetstring Gets the Hugging Face revision.