@@ -20,7 +20,7 @@ func init() {
2020
2121// Name returns the format identifier for DDUF.
2222func (d * DDUFFormat ) Name () types.Format {
23- return types .FormatDiffusers
23+ return types .FormatDDUF
2424}
2525
2626// MediaType returns the OCI media type for DDUF layers.
@@ -39,7 +39,7 @@ func (d *DDUFFormat) DiscoverShards(path string) ([]string, error) {
3939// DDUF files are zip archives containing model config, so we extract what we can.
4040func (d * DDUFFormat ) ExtractConfig (paths []string ) (types.Config , error ) {
4141 if len (paths ) == 0 {
42- return types.Config {Format : types .FormatDiffusers }, nil
42+ return types.Config {Format : types .FormatDDUF }, nil
4343 }
4444
4545 // Calculate total size across all files
@@ -59,7 +59,7 @@ func (d *DDUFFormat) ExtractConfig(paths []string) (types.Config, error) {
5959 // In the future, we could extract model_index.json from the DDUF archive
6060 // to get architecture details, etc.
6161 return types.Config {
62- Format : types .FormatDiffusers ,
62+ Format : types .FormatDDUF ,
6363 Architecture : "diffusers" ,
6464 Size : formatSize (totalSize ),
6565 Diffusers : map [string ]string {
0 commit comments