front end support for bria

This commit is contained in:
Ubuntu
2025-07-09 18:20:30 +00:00
parent f5423133a8
commit a139885bf7
2 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ export const BASE_COLOR_MAP: Record<BaseModelType, string> = {
imagen4: 'pink',
'chatgpt-4o': 'pink',
'flux-kontext': 'pink',
bria: 'purple',
};
const ModelBaseBadge = ({ base }: Props) => {

View File

@@ -17,6 +17,7 @@ export const MODEL_TYPE_MAP: Record<BaseModelType, string> = {
imagen4: 'Imagen4',
'chatgpt-4o': 'ChatGPT 4o',
'flux-kontext': 'Flux Kontext',
bria: 'Bria AI',
};
/**
@@ -35,6 +36,7 @@ export const MODEL_TYPE_SHORT_MAP: Record<BaseModelType, string> = {
imagen4: 'Imagen4',
'chatgpt-4o': 'ChatGPT 4o',
'flux-kontext': 'Flux Kontext',
bria: 'Bria',
};
/**
@@ -89,6 +91,10 @@ export const CLIP_SKIP_MAP: Record<BaseModelType, { maxClip: number; markers: nu
maxClip: 0,
markers: [],
},
bria: {
maxClip: 0,
markers: [],
},
};
/**