mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
more cleanup
This commit is contained in:
committed by
psychedelicious
parent
5a86490845
commit
f4672ad8c1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user