Skip to content

Commit

Permalink
oop
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 17, 2024
1 parent 4163af3 commit 6dd9491
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 @@ -49,7 +49,7 @@ export class ComfyModelDef {
this.name = name
this.title = name.replaceAll('\\', '/').split('/').pop()
if (this.title.endsWith('.safetensors')) {
this.title = this.title.slice(0, -'.safetensors'.length);
this.title = this.title.slice(0, -'.safetensors'.length)
}
this.directory = directory
}
Expand Down

0 comments on commit 6dd9491

Please sign in to comment.