From 2ba9b02932c61ef1146eb358e1ed7c9a85d2adf4 Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Mon, 26 Aug 2024 13:12:45 -0400 Subject: [PATCH] Fix type error in tsc --- .../subpanels/ModelManagerPanel/ModelFormatBadge.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelFormatBadge.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelFormatBadge.tsx index 167588ddd3..68cd455646 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelFormatBadge.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelFormatBadge.tsx @@ -14,7 +14,7 @@ const FORMAT_NAME_MAP: Record = { embedding_file: 'embedding', embedding_folder: 'embedding', t5_encoder: 't5_encoder', - t5_encoder_8b: 't5_encoder_8b', + bnb_quantized_int8b: 'bnb_quantized_int8b', bnb_quantized_nf4b: 'quantized', }; @@ -26,7 +26,7 @@ const FORMAT_COLOR_MAP: Record = { embedding_file: 'base', embedding_folder: 'base', t5_encoder: 'base', - t5_encoder_8b: 'base', + bnb_quantized_int8b: 'base', bnb_quantized_nf4b: 'base', };