Skip to content

Commit

Permalink
after load, retain title if no new title is given
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 17, 2024
1 parent 6dd9491 commit 036bfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/modelStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class ComfyModelDef {
'title',
'display_name',
'name'
) || this.name
) || this.title
this.architecture_id =
_findInMetadata(metadata, 'modelspec.architecture', 'architecture') || ''
this.author = _findInMetadata(metadata, 'modelspec.author', 'author') || ''
Expand Down

0 comments on commit 036bfc2

Please sign in to comment.