chore: display instance resource claim

This commit is contained in:
jialin
2025-03-07 17:07:40 +08:00
parent 106ee43171
commit a2ef9d781d
13 changed files with 237 additions and 100 deletions
+17 -17
View File
@@ -239,23 +239,23 @@ export const ImageEidtParamsConfig: ParamsSchema[] = [
];
export const ImageconstExtraConfig: ParamsSchema[] = [
{
type: 'Select',
name: 'quality',
options: [
{ label: 'playground.params.standard', value: 'standard', locale: true },
{ label: 'playground.params.hd', value: 'hd', locale: true }
],
label: {
text: 'playground.params.quality',
isLocalized: true
},
rules: [
{
required: false
}
]
},
// {
// type: 'Select',
// name: 'quality',
// options: [
// { label: 'playground.params.standard', value: 'standard', locale: true },
// { label: 'playground.params.hd', value: 'hd', locale: true }
// ],
// label: {
// text: 'playground.params.quality',
// isLocalized: true
// },
// rules: [
// {
// required: false
// }
// ]
// },
{
type: 'Select',
name: 'style',
+4 -2
View File
@@ -24,7 +24,8 @@ export const IMG_METAKEYS = [
'cfg_scale',
'guidance',
'negative_prompt',
'seed'
'seed',
'strength'
];
export const llmInitialValues = {
@@ -44,12 +45,13 @@ export const advancedFieldsDefaultValus = {
guidance: 3.5,
sampling_steps: 10,
negative_prompt: null,
strength: null,
schedule_method: 'discrete',
preview: 'preview_faster'
};
export const openaiCompatibleFieldsDefaultValus = {
quality: 'standard',
// quality: 'standard',
style: null
};