Skip to content

Commit d1935f1

Browse files
committed
Small fixes
1 parent ca4cd3a commit d1935f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/js/modelInfo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
170170
this.addTags();
171171

172172
const info = await p;
173-
this.addExample("Trigger Words", info?.trainedWords?.join(", ") ?? "", "trainedwords");
173+
this.addExample("Trained Words", info?.trainedWords?.join(", ") ?? "", "trainedwords");
174174

175175
const triggerPhrase = this.metadata["modelspec.trigger_phrase"];
176176
if (triggerPhrase) {
@@ -179,7 +179,7 @@ export class LoraInfoDialog extends ModelInfoDialog {
179179

180180
$el("div", {
181181
parent: this.content,
182-
innerHTML: info.description ?? this.metadata["modelspec.description"],
182+
innerHTML: info.description ?? this.metadata["modelspec.description"] ?? "[No description provided]",
183183
style: {
184184
maxHeight: "250px",
185185
overflow: "auto",

0 commit comments

Comments
 (0)