Some cleanup of the tags and description of flux nodes

This commit is contained in:
Brandon Rising 2024-08-20 15:31:22 -04:00 committed by Brandon
parent 8ba6e6b1f8
commit db2a2d5e38
3 changed files with 7 additions and 3 deletions

View File

@ -15,11 +15,12 @@ from invokeai.backend.stable_diffusion.diffusion.conditioning_data import Condit
@invocation( @invocation(
"flux_text_encoder", "flux_text_encoder",
title="FLUX Text Encoding", title="FLUX Text Encoding",
tags=["image"], tags=["image", "flux"],
category="image", category="image",
version="1.0.0", version="1.0.0",
) )
class FluxTextEncoderInvocation(BaseInvocation): class FluxTextEncoderInvocation(BaseInvocation):
"""Encodes and preps a prompt for a flux image."""
clip: CLIPField = InputField( clip: CLIPField = InputField(
title="CLIP", title="CLIP",
description=FieldDescriptions.clip, description=FieldDescriptions.clip,

View File

@ -25,7 +25,7 @@ from invokeai.backend.util.devices import TorchDevice
@invocation( @invocation(
"flux_text_to_image", "flux_text_to_image",
title="FLUX Text to Image", title="FLUX Text to Image",
tags=["image"], tags=["image", "flux"],
category="image", category="image",
version="1.0.0", version="1.0.0",
) )

View File

@ -5798,7 +5798,10 @@ export type components = {
*/ */
type: "flux_model_loader_output"; type: "flux_model_loader_output";
}; };
/** FLUX Text Encoding */ /**
* FLUX Text Encoding
* @description Encodes and preps a prompt for a flux image.
*/
FluxTextEncoderInvocation: { FluxTextEncoderInvocation: {
/** /**
* Id * Id