From db2a2d5e3871f52f9cb8cace7f0308f35bf31b79 Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Tue, 20 Aug 2024 15:31:22 -0400 Subject: [PATCH] Some cleanup of the tags and description of flux nodes --- invokeai/app/invocations/flux_text_encoder.py | 3 ++- invokeai/app/invocations/flux_text_to_image.py | 2 +- invokeai/frontend/web/src/services/api/schema.ts | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/invokeai/app/invocations/flux_text_encoder.py b/invokeai/app/invocations/flux_text_encoder.py index a57124d2bc..1ad3ad2f2a 100644 --- a/invokeai/app/invocations/flux_text_encoder.py +++ b/invokeai/app/invocations/flux_text_encoder.py @@ -15,11 +15,12 @@ from invokeai.backend.stable_diffusion.diffusion.conditioning_data import Condit @invocation( "flux_text_encoder", title="FLUX Text Encoding", - tags=["image"], + tags=["image", "flux"], category="image", version="1.0.0", ) class FluxTextEncoderInvocation(BaseInvocation): + """Encodes and preps a prompt for a flux image.""" clip: CLIPField = InputField( title="CLIP", description=FieldDescriptions.clip, diff --git a/invokeai/app/invocations/flux_text_to_image.py b/invokeai/app/invocations/flux_text_to_image.py index e08b4f38fd..f67cf4a155 100644 --- a/invokeai/app/invocations/flux_text_to_image.py +++ b/invokeai/app/invocations/flux_text_to_image.py @@ -25,7 +25,7 @@ from invokeai.backend.util.devices import TorchDevice @invocation( "flux_text_to_image", title="FLUX Text to Image", - tags=["image"], + tags=["image", "flux"], category="image", version="1.0.0", ) diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index e34bb5e523..efaf3d482c 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -5798,7 +5798,10 @@ export type components = { */ type: "flux_model_loader_output"; }; - /** FLUX Text Encoding */ + /** + * FLUX Text Encoding + * @description Encodes and preps a prompt for a flux image. + */ FluxTextEncoderInvocation: { /** * Id