Update customLoraLoaders.js
This commit is contained in:
@@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user