File tree 2 files changed +4
-0
lines changed
invokeai/frontend/web/src/features/modelManagerV2/subpanels
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,9 @@ const ModelListItem = ({ model }: ModelListItemProps) => {
108
108
< ModelBaseBadge base = { model . base } />
109
109
< ModelFormatBadge format = { model . format } />
110
110
</ Flex >
111
+ < Text >
112
+ { Intl . NumberFormat ( undefined , { maximumFractionDigits : 2 } ) . format ( model . size / ( 1024 ** 3 ) ) } GB
113
+ </ Text >
111
114
</ Flex >
112
115
< IconButton
113
116
onClick = { onClickDeleteButton }
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export const ModelView = memo(({ modelConfig }: Props) => {
50
50
< ModelAttrView label = { t ( 'modelManager.modelType' ) } value = { modelConfig . type } />
51
51
< ModelAttrView label = { t ( 'common.format' ) } value = { modelConfig . format } />
52
52
< ModelAttrView label = { t ( 'modelManager.path' ) } value = { modelConfig . path } />
53
+ < ModelAttrView label = { t ( 'modelManager.size' ) } value = { modelConfig . size / ( 1024 ** 3 ) } />
53
54
{ modelConfig . type === 'main' && (
54
55
< ModelAttrView label = { t ( 'modelManager.variant' ) } value = { modelConfig . variant } />
55
56
) }
You can’t perform that action at this time.
0 commit comments