Skip to content

Commit

Permalink
Some UI cleanup, regenerate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Aug 15, 2024
1 parent 0e14fc6 commit 53052cf
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 149 deletions.
2 changes: 1 addition & 1 deletion invokeai/app/invocations/flux_text_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FluxTextEncoderInvocation(BaseInvocation):
input=Input.Connection,
)
t5Encoder: T5EncoderField = InputField(
title="T5EncoderField",
title="T5Encoder",
description=FieldDescriptions.t5Encoder,
input=Input.Connection,
)
Expand Down
2 changes: 2 additions & 0 deletions invokeai/frontend/web/src/features/nodes/types/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const MODEL_TYPES = [
'VAEField',
'CLIPField',
'T2IAdapterModelField',
'T5EncoderField',
'SpandrelImageToImageModelField',
];

Expand Down Expand Up @@ -70,6 +71,7 @@ export const FIELD_COLORS: { [key: string]: string } = {
T2IAdapterField: 'teal.500',
T2IAdapterModelField: 'teal.500',
UNetField: 'red.500',
T5EncoderField: 'green.500',
TransformerField: 'red.500',
VAEField: 'blue.500',
VAEModelField: 'teal.500',
Expand Down
Loading

0 comments on commit 53052cf

Please sign in to comment.