Skip to content

Commit 11d3b8d

Browse files
psychedeliciousmaryhipp
authored andcommitted
feat(ui): add usage info to model picker
1 parent bffd4af commit 11d3b8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

invokeai/frontend/web/src/features/parameters/components/ModelPicker.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,11 @@ const PickerOptionComponent = typedMemo(({ option, ...rest }: { option: AnyModel
286286
{filesize(option.file_size)}
287287
</Text>
288288
)}
289+
{option.usage_info && (
290+
<Text variant="subtext" fontStyle="italic" noOfLines={1} flexShrink={0} overflow="visible">
291+
{option.usage_info}
292+
</Text>
293+
)}
289294
</Flex>
290295
{option.description && !compactView && <Text color="base.200">{option.description}</Text>}
291296
</Flex>

0 commit comments

Comments
 (0)