mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
remove hires fix badge from settings when using sdxl
This commit is contained in:
parent
14e41a1fd9
commit
4eb66a9198
@ -29,6 +29,7 @@ const selector = createMemoizedSelector(
|
||||
const { shouldRandomizeSeed, model } = generation;
|
||||
const { hrfEnabled } = hrf;
|
||||
const badges: string[] = [];
|
||||
const isSDXL = model?.base === 'sdxl';
|
||||
|
||||
if (activeTabName === 'unifiedCanvas') {
|
||||
const {
|
||||
@ -53,10 +54,10 @@ const selector = createMemoizedSelector(
|
||||
badges.push('Manual Seed');
|
||||
}
|
||||
|
||||
if (hrfEnabled) {
|
||||
if (hrfEnabled && !isSDXL) {
|
||||
badges.push('HiRes Fix');
|
||||
}
|
||||
return { badges, activeTabName, isSDXL: model?.base === 'sdxl' };
|
||||
return { badges, activeTabName, isSDXL };
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user