more cleanup

This commit is contained in:
Mary Hipp
2025-05-21 21:14:00 -04:00
committed by psychedelicious
parent 5a86490845
commit f4672ad8c1
2 changed files with 1 additions and 6 deletions

View File

@@ -1885,11 +1885,7 @@ export const canvasPersistConfig: PersistConfig<CanvasState> = {
};
const syncScaledSize = (state: CanvasState) => {
if (
state.bbox.modelBase === 'imagen3' ||
state.bbox.modelBase === 'chatgpt-4o' ||
state.bbox.modelBase === 'imagen4'
) {
if (API_BASE_MODELS.includes(state.bbox.modelBase)) {
// Imagen3 has fixed sizes. Scaled bbox is not supported.
return;
}

View File

@@ -124,7 +124,6 @@ const NODE_TYPE_PUBLISH_DENYLIST = [
'google_imagen3_generate',
'google_imagen3_edit',
'google_imagen4_generate',
'google_imagen4_edit',
'chatgpt_create_image',
'chatgpt_edit_image',
];