mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
fix: reranker embedding stt model show another empty
--bug=1050861 --user=刘瑞斌 【模型管理】添加向量模型、重排模型时,高级设置中文案提示不对 https://www.tapd.cn/57709429/s/1637503
This commit is contained in:
parent
6fab88e891
commit
7df98e2865
|
|
@ -161,6 +161,10 @@
|
|||
v-if="!base_form_data.model_type || !base_form_data.model_name"
|
||||
description="请先选择基础信息的模型类型和基础模型"
|
||||
/>
|
||||
<el-empty
|
||||
v-else-if="base_form_data.model_type === 'RERANKER' || base_form_data.model_type === 'EMBEDDING' || base_form_data.model_type === 'STT'"
|
||||
description="所选模型不支持参数设置"
|
||||
/>
|
||||
<div class="flex-between mb-8" v-else>
|
||||
<h5>模型参数</h5>
|
||||
<el-button type="text" @click.stop="openAddDrawer()" :disabled="base_form_data.model_type !== 'TTS' && base_form_data.model_type !== 'LLM' && base_form_data.model_type !== 'IMAGE' && base_form_data.model_type !== 'TTI'">
|
||||
|
|
|
|||
Loading…
Reference in New Issue