Skip to content

Commit a139885

Browse files
author
Ubuntu
committed
front end support for bria
1 parent f542313 commit a139885

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelBaseBadge.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const BASE_COLOR_MAP: Record<BaseModelType, string> = {
2020
imagen4: 'pink',
2121
'chatgpt-4o': 'pink',
2222
'flux-kontext': 'pink',
23+
bria: 'purple',
2324
};
2425

2526
const ModelBaseBadge = ({ base }: Props) => {

invokeai/frontend/web/src/features/parameters/types/constants.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const MODEL_TYPE_MAP: Record<BaseModelType, string> = {
1717
imagen4: 'Imagen4',
1818
'chatgpt-4o': 'ChatGPT 4o',
1919
'flux-kontext': 'Flux Kontext',
20+
bria: 'Bria AI',
2021
};
2122

2223
/**
@@ -35,6 +36,7 @@ export const MODEL_TYPE_SHORT_MAP: Record<BaseModelType, string> = {
3536
imagen4: 'Imagen4',
3637
'chatgpt-4o': 'ChatGPT 4o',
3738
'flux-kontext': 'Flux Kontext',
39+
bria: 'Bria',
3840
};
3941

4042
/**
@@ -89,6 +91,10 @@ export const CLIP_SKIP_MAP: Record<BaseModelType, { maxClip: number; markers: nu
8991
maxClip: 0,
9092
markers: [],
9193
},
94+
bria: {
95+
maxClip: 0,
96+
markers: [],
97+
},
9298
};
9399

94100
/**

0 commit comments

Comments
 (0)