Update customLoraLoaders.js

This commit is contained in:
Lucas Sköld
2024-05-06 01:44:02 +02:00
parent 33d2ddff44
commit 218ef60ff9
+10 -6
View File
@@ -1,15 +1,19 @@
import { SettingUtils } from './sn0w.js';
import { app } from "../../../scripts/app.js";
const defaultValue = "ExampleName1:Value1\nExampleName2:Value2";
const height = "60"
const tooltip = "Enter each name-value pair on a new line, separated by a colon (:)."
const xlId = "sn0w.CustomLoraLoadersXL";
const xlSettingDefinition = {
id: xlId,
name: "[Sn0w] Custom Lora Loaders XL",
type: SettingUtils.createMultilineSetting,
defaultValue: "ExampleName1:Value1\nExampleName2:Value2",
defaultValue: defaultValue,
attrs: {
height: "80",
tooltip: "Enter each name-value pair on a new line, separated by a colon (:).",
height: height,
tooltip: tooltip,
}
};
@@ -18,10 +22,10 @@ const nonXlSettingDefinition = {
id: nonXlId,
name: "[Sn0w] Custom Lora Loaders 1.5",
type: SettingUtils.createMultilineSetting,
defaultValue: "ExampleName1:Value1\nExampleName2:Value2",
defaultValue: defaultValue,
attrs: {
height: "80",
tooltip: "Enter each name-value pair on a new line, separated by a colon (:).",
height: height,
tooltip: tooltip,
}
};