chore: model file description

This commit is contained in:
jialin
2025-01-13 15:51:34 +08:00
parent 5c1bcdbd74
commit 9aa297a804
14 changed files with 165 additions and 118 deletions
+23 -40
View File
@@ -146,23 +146,6 @@ export const ImageParamsConfig: ParamsSchema[] = [
];
export const ImageEidtParamsConfig: ParamsSchema[] = [
// {
// type: 'Slider',
// name: 'brush_size',
// label: {
// text: 'Brush Size',
// isLocalized: false
// },
// attrs: {
// min: 25,
// max: 80
// },
// rules: [
// {
// required: false
// }
// ]
// },
{
type: 'InputNumber',
name: 'n',
@@ -337,29 +320,6 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
}
]
},
{
type: 'InputNumber',
name: 'strength',
label: {
text: 'Strength',
isLocalized: false
},
description: {
text: 'playground.image.strength.tip',
html: false,
isLocalized: true
},
attrs: {
min: 0,
max: 1,
step: 0.1
},
rules: [
{
required: false
}
]
},
{
type: 'InputNumber',
name: 'cfg_scale',
@@ -383,6 +343,29 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
}
]
},
{
type: 'InputNumber',
name: 'strength',
label: {
text: 'Strength',
isLocalized: false
},
description: {
text: 'playground.image.strength.tip',
html: false,
isLocalized: true
},
attrs: {
min: 0,
max: 1,
step: 0.1
},
rules: [
{
required: false
}
]
},
{
type: 'Input',
name: 'negative_prompt', // e.g. ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),