diff --git a/invokeai/frontend/web/src/app/constants.ts b/invokeai/frontend/web/src/app/constants.ts index 6700a732b3..c2e525ad7d 100644 --- a/invokeai/frontend/web/src/app/constants.ts +++ b/invokeai/frontend/web/src/app/constants.ts @@ -22,9 +22,9 @@ export const SCHEDULERS = [ export type Scheduler = (typeof SCHEDULERS)[number]; // Valid upscaling levels -export const UPSCALING_LEVELS: Array<{ key: string; value: number }> = [ - { key: '2x', value: 2 }, - { key: '4x', value: 4 }, +export const UPSCALING_LEVELS: Array<{ label: string; value: string }> = [ + { label: '2x', value: '2' }, + { label: '4x', value: '4' }, ]; export const NUMPY_RAND_MIN = 0; diff --git a/invokeai/frontend/web/src/common/components/IAIMantineSelect.tsx b/invokeai/frontend/web/src/common/components/IAIMantineSelect.tsx index 82b1042029..5b5659080e 100644 --- a/invokeai/frontend/web/src/common/components/IAIMantineSelect.tsx +++ b/invokeai/frontend/web/src/common/components/IAIMantineSelect.tsx @@ -9,7 +9,6 @@ const IAIMantineSelect = (props: IAISelectProps) => {