mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-15 13:35:02 -05:00
feat(ui): add notice for FLUX dev commercial license requirement
This commit is contained in:
@@ -129,6 +129,10 @@ export const isNonRefinerMainModelConfig = (config: AnyModelConfig): config is M
|
||||
return config.type === 'main' && config.base !== 'sdxl-refiner';
|
||||
};
|
||||
|
||||
export const isCheckpointMainModelConfig = (config: AnyModelConfig): config is CheckpointModelConfig => {
|
||||
return config.type === 'main' && (config.format === 'checkpoint' || config.format === 'bnb_quantized_nf4b');
|
||||
};
|
||||
|
||||
export const isRefinerMainModelModelConfig = (config: AnyModelConfig): config is MainModelConfig => {
|
||||
return config.type === 'main' && config.base === 'sdxl-refiner';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user