Skip to content

Commit 8d9c466

Browse files
committed
feat: add ITV and TTV model types to data and update model type checks
1 parent f06bdf3 commit 8d9c466

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ui/src/views/model/component/ModelCard.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
(currentModel.model_type === 'TTS' ||
9393
currentModel.model_type === 'LLM' ||
9494
currentModel.model_type === 'IMAGE' ||
95-
currentModel.model_type === 'TTI') &&
95+
currentModel.model_type === 'TTI' ||
96+
currentModel.model_type === 'ITV' ||
97+
currentModel.model_type === 'TTV') &&
9698
permissionPrecise.paramSetting(model.id)
9799
"
98100
@click.stop="openParamSetting"

ui/src/views/model/component/data.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export const modelTypeList = [
77
{ text: t(modelType['STT']), value: 'STT' },
88
{ text: t(modelType['TTS']), value: 'TTS' },
99
{ text: t(modelType['IMAGE']), value: 'IMAGE' },
10-
{ text: t(modelType['TTI']), value: 'TTI' }
10+
{ text: t(modelType['TTI']), value: 'TTI' },
11+
{ text: t(modelType['ITV']), value: 'ITV' },
12+
{ text: t(modelType['TTV']), value: 'TTV' },
1113
]
1214

1315

0 commit comments

Comments
 (0)