From d1935f10d6ed1e0ba2f0752abfdcca4ec6e9c79d Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Sun, 14 Jul 2024 12:49:42 +0100 Subject: [PATCH] Small fixes --- web/js/modelInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/modelInfo.js b/web/js/modelInfo.js index 9c504c2..9723fd1 100644 --- a/web/js/modelInfo.js +++ b/web/js/modelInfo.js @@ -170,7 +170,7 @@ export class LoraInfoDialog extends ModelInfoDialog { this.addTags(); const info = await p; - this.addExample("Trigger Words", info?.trainedWords?.join(", ") ?? "", "trainedwords"); + this.addExample("Trained Words", info?.trainedWords?.join(", ") ?? "", "trainedwords"); const triggerPhrase = this.metadata["modelspec.trigger_phrase"]; if (triggerPhrase) { @@ -179,7 +179,7 @@ export class LoraInfoDialog extends ModelInfoDialog { $el("div", { parent: this.content, - innerHTML: info.description ?? this.metadata["modelspec.description"], + innerHTML: info.description ?? this.metadata["modelspec.description"] ?? "[No description provided]", style: { maxHeight: "250px", overflow: "auto",