mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: rename ui_type_hint
to ui_type
Just a bit more succinct while not losing any clarity.
This commit is contained in:
@ -12,7 +12,7 @@ from .baseinvocation import (
|
||||
Input,
|
||||
InvocationContext,
|
||||
OutputField,
|
||||
UITypeHint,
|
||||
UIType,
|
||||
tags,
|
||||
title,
|
||||
)
|
||||
@ -365,7 +365,7 @@ class VaeLoaderInvocation(BaseInvocation):
|
||||
|
||||
# Inputs
|
||||
vae_model: VAEModelField = InputField(
|
||||
description=FieldDescriptions.vae_model, input=Input.Direct, ui_type_hint=UITypeHint.VaeModel, title="VAE"
|
||||
description=FieldDescriptions.vae_model, input=Input.Direct, ui_type=UIType.VaeModel, title="VAE"
|
||||
)
|
||||
|
||||
def invoke(self, context: InvocationContext) -> VaeLoaderOutput:
|
||||
|
Reference in New Issue
Block a user