fix: rerank clear failed

This commit is contained in:
jialin
2024-11-27 22:47:53 +08:00
parent 324bd57e3d
commit af789ee886
9 changed files with 223 additions and 160 deletions
+6 -4
View File
@@ -263,7 +263,8 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
},
attrs: {
min: 1,
max: 100
max: 100,
defaultValue: 10
},
rules: [
{
@@ -275,13 +276,14 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
type: 'InputNumber',
name: 'cfg_scale',
label: {
text: 'playground.image.params.cfgScale',
isLocalized: true
text: 'CFG Scale',
isLocalized: false
},
attrs: {
min: 1.0,
max: 10,
step: 0.1
step: 0.1,
defaulValue: 4.5
},
rules: [
{