mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): update types
This commit is contained in:
@ -4,7 +4,7 @@ import { filter, size } from 'lodash-es';
|
||||
import {
|
||||
type CoreMetadataInvocation,
|
||||
isLoRAModelConfig,
|
||||
type LoraLoaderInvocation,
|
||||
type LoRALoaderInvocation,
|
||||
type NonNullableGraph,
|
||||
} from 'services/api/types';
|
||||
|
||||
@ -50,7 +50,7 @@ export const addLoRAsToGraph = async (
|
||||
const { key } = lora.model;
|
||||
const currentLoraNodeId = `${LORA_LOADER}_${key}`;
|
||||
|
||||
const loraLoaderNode: LoraLoaderInvocation = {
|
||||
const loraLoaderNode: LoRALoaderInvocation = {
|
||||
type: 'lora_loader',
|
||||
id: currentLoraNodeId,
|
||||
is_intermediate: true,
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
type CoreMetadataInvocation,
|
||||
isLoRAModelConfig,
|
||||
type NonNullableGraph,
|
||||
type SDXLLoraLoaderInvocation,
|
||||
type SDXLLoRALoaderInvocation,
|
||||
} from 'services/api/types';
|
||||
|
||||
import {
|
||||
@ -66,7 +66,7 @@ export const addSDXLLoRAsToGraph = async (
|
||||
const { key } = lora.model;
|
||||
const currentLoraNodeId = `${LORA_LOADER}_${key}`;
|
||||
|
||||
const loraLoaderNode: SDXLLoraLoaderInvocation = {
|
||||
const loraLoaderNode: SDXLLoRALoaderInvocation = {
|
||||
type: 'sdxl_lora_loader',
|
||||
id: currentLoraNodeId,
|
||||
is_intermediate: true,
|
||||
|
Reference in New Issue
Block a user