chore: success toast show twice after deleting
This commit is contained in:
@@ -85,6 +85,6 @@ export default {
|
|||||||
'vLLM: For non-GGUF format models, supports x86 Linux only.',
|
'vLLM: For non-GGUF format models, supports x86 Linux only.',
|
||||||
'models.form.backend.voxbox': 'vox-box: For non-GGUF format audio models.',
|
'models.form.backend.voxbox': 'vox-box: For non-GGUF format audio models.',
|
||||||
'models.form.search.gguftips':
|
'models.form.search.gguftips':
|
||||||
'GGUF format is required for Mac and Windows compatibility.',
|
'Mac and Windows require GGUF format for non-audio models.',
|
||||||
'models.form.button.addlabel': 'Add Label'
|
'models.form.button.addlabel': 'Add Label'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -81,6 +81,6 @@ export default {
|
|||||||
'models.form.backend.vllm': 'vLLM: 用于非 GGUF 格式模型,仅支持 x86 Linux',
|
'models.form.backend.vllm': 'vLLM: 用于非 GGUF 格式模型,仅支持 x86 Linux',
|
||||||
'models.form.backend.voxbox': 'vox-box: 用于非 GGUF 格式的音频模型',
|
'models.form.backend.voxbox': 'vox-box: 用于非 GGUF 格式的音频模型',
|
||||||
'models.form.search.gguftips':
|
'models.form.search.gguftips':
|
||||||
'Mac 和 Windows 需要使用 GGUF 格式以确保兼容性',
|
'非音频模型,Mac 和 Windows 需要使用 GGUF 格式',
|
||||||
'models.form.button.addlabel': '添加标签'
|
'models.form.button.addlabel': '添加标签'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -234,9 +234,6 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
|
|||||||
modelSource={modelSource}
|
modelSource={modelSource}
|
||||||
></SearchInput>
|
></SearchInput>
|
||||||
<div className="gguf-tips">
|
<div className="gguf-tips">
|
||||||
<span className="m-r-5">
|
|
||||||
{intl.formatMessage({ id: 'common.tips.title' })}
|
|
||||||
</span>
|
|
||||||
<span>
|
<span>
|
||||||
{intl.formatMessage({ id: 'models.form.search.gguftips' })}
|
{intl.formatMessage({ id: 'models.form.search.gguftips' })}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -337,7 +337,6 @@ const Models: React.FC<ModelsProps> = ({
|
|||||||
replicas: 0
|
replicas: 0
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
message.success(intl.formatMessage({ id: 'common.message.success' }));
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// ingore
|
// ingore
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
color: var(--ant-color-text-secondary);
|
color: var(--ant-color-text-tertiary);
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
color: var(--ant-color-warning);
|
color: var(--ant-color-warning);
|
||||||
|
|||||||
Reference in New Issue
Block a user