Small fixes

This commit is contained in:
pythongosssss
2024-07-14 12:49:42 +01:00
parent ca4cd3a824
commit d1935f10d6
+2 -2
View File
@@ -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",