mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 06:18:03 -05:00
updates for new model type
This commit is contained in:
committed by
Mary Hipp Rogers
parent
c6f2d127ef
commit
23cde86bc4
@@ -28,6 +28,7 @@ export const ModelTypeFilter = memo(() => {
|
||||
siglip: t('modelManager.sigLip'),
|
||||
flux_redux: t('modelManager.fluxRedux'),
|
||||
llava_onevision: t('modelManager.llavaOnevision'),
|
||||
video: t('modelManager.video'),
|
||||
}),
|
||||
[t]
|
||||
);
|
||||
|
||||
@@ -4,7 +4,7 @@ import { fieldRunwayModelValueChanged } from 'features/nodes/store/nodesSlice';
|
||||
import type { RunwayModelFieldInputInstance, RunwayModelFieldInputTemplate } from 'features/nodes/types/field';
|
||||
import { memo, useCallback } from 'react';
|
||||
import { useRunwayModels } from 'services/api/hooks/modelsByType';
|
||||
import type { ApiModelConfig } from 'services/api/types';
|
||||
import type { VideoApiModelConfig } from 'services/api/types';
|
||||
|
||||
import type { FieldComponentProps } from './types';
|
||||
|
||||
@@ -17,7 +17,7 @@ const RunwayModelFieldInputComponent = (
|
||||
const [modelConfigs, { isLoading }] = useRunwayModels();
|
||||
|
||||
const onChange = useCallback(
|
||||
(value: ApiModelConfig | null) => {
|
||||
(value: VideoApiModelConfig | null) => {
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { fieldVeo3ModelValueChanged } from 'features/nodes/store/nodesSlice';
|
||||
import type { Veo3ModelFieldInputInstance, Veo3ModelFieldInputTemplate } from 'features/nodes/types/field';
|
||||
import { memo, useCallback } from 'react';
|
||||
import { useVeo3Models } from 'services/api/hooks/modelsByType';
|
||||
import type { ApiModelConfig } from 'services/api/types';
|
||||
import type { VideoApiModelConfig } from 'services/api/types';
|
||||
|
||||
import type { FieldComponentProps } from './types';
|
||||
|
||||
@@ -17,7 +17,7 @@ const Veo3ModelFieldInputComponent = (
|
||||
const [modelConfigs, { isLoading }] = useVeo3Models();
|
||||
|
||||
const onChange = useCallback(
|
||||
(value: ApiModelConfig | null) => {
|
||||
(value: VideoApiModelConfig | null) => {
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user