mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix refiner metadata
This commit is contained in:
parent
74a51571a0
commit
4e245e9331
@ -957,6 +957,7 @@
|
||||
"refiner": "Refiner",
|
||||
"refinermodel": "Refiner Model",
|
||||
"refinerStart": "Refiner Start",
|
||||
"refinerSteps": "Refiner Steps",
|
||||
"scheduler": "Scheduler",
|
||||
"steps": "Steps"
|
||||
},
|
||||
|
@ -247,10 +247,11 @@ export const handlers = {
|
||||
recaller: recallers.refinerCFGScale,
|
||||
}),
|
||||
refinerModel: buildHandlers({
|
||||
getLabel: () => t('sdxl.refinerModel'),
|
||||
getLabel: () => t('sdxl.refinermodel'),
|
||||
parser: parsers.refinerModel,
|
||||
recaller: recallers.refinerModel,
|
||||
validator: validators.refinerModel,
|
||||
renderValue: renderModelConfigValue,
|
||||
}),
|
||||
refinerNegativeAestheticScore: buildHandlers({
|
||||
getLabel: () => t('sdxl.posAestheticScore'),
|
||||
@ -268,12 +269,12 @@ export const handlers = {
|
||||
recaller: recallers.refinerScheduler,
|
||||
}),
|
||||
refinerStart: buildHandlers({
|
||||
getLabel: () => t('sdxl.refiner_start'),
|
||||
getLabel: () => t('sdxl.refinerStart'),
|
||||
parser: parsers.refinerStart,
|
||||
recaller: recallers.refinerStart,
|
||||
}),
|
||||
refinerSteps: buildHandlers({
|
||||
getLabel: () => t('sdxl.refiner_steps'),
|
||||
getLabel: () => t('sdxl.refinerSteps'),
|
||||
parser: parsers.refinerSteps,
|
||||
recaller: recallers.refinerSteps,
|
||||
}),
|
||||
|
@ -185,6 +185,7 @@ const parseRefinerModel: MetadataParseFunc<ParameterSDXLRefinerModel> = async (m
|
||||
const key = await getModelKey(refiner_model, 'main');
|
||||
const refinerModelConfig = await fetchModelConfigWithTypeGuard(key, isRefinerMainModelModelConfig);
|
||||
const modelIdentifier = zModelIdentifierField.parse(refinerModelConfig);
|
||||
console.log({ modelIdentifier });
|
||||
return modelIdentifier;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user