fix split

This commit is contained in:
pythongosssss
2024-07-14 12:46:44 +01:00
parent 73bf5f4370
commit ca4cd3a824
+1 -1
View File
@@ -80,7 +80,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
addTags() {
let tags = this.getTagFrequency();
if(!tags?.length) {
tags = this.metadata["modelspec.tags"]?.split(" ").map(t => [t, 1]);
tags = (this.metadata["modelspec.tags"] ?? "").split(",").map(t => [t.trim(), 1]);
}
let hasMore;
if (tags?.length) {