diff --git a/src/stores/modelStore.ts b/src/stores/modelStore.ts index f3237eab9..898625693 100644 --- a/src/stores/modelStore.ts +++ b/src/stores/modelStore.ts @@ -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 }