Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(ui): show active out of total in the guidance badge
Josh Corbett1632cd05b272
diff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.jsonindex 6c38c8808d..2c72d1fc3f 100644--- a/invokeai/frontend/webv2/public/locales/en.json+++ b/invokeai/frontend/webv2/public/locales/en.json@@ -2186,6 +2186,7 @@"generate": {"activeCount_one": "{{count}} active","activeCount_other": "{{count}} active",+ "activeOfTotal": "{{active}}/{{total}} active","activeSteps": "Active steps","addConcept": "Add concept","addConceptsHelp": "Add LoRAs/concepts here to blend them into this generation.",diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsxindex 3f4ae4cdcd..22683bc1ab 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx@@ -58,7 +58,9 @@ export const GenerateGuidanceSection = ({) : null}{activeCount > 0 ? (<Badge size="xs" variant="surface">- {t('widgets.generate.activeCount', { count: activeCount })}+ {activeCount === totalCount+ ? t('widgets.generate.activeCount', { count: activeCount })+ : t('widgets.generate.activeOfTotal', { active: activeCount, total: totalCount })}</Badge>) : totalCount > 0 ? (<Badge size="xs" variant="surface">