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