chore: local path field tooltip

This commit is contained in:
jialin
2025-02-10 11:59:57 +08:00
parent 7c960bb899
commit cbf1e42c73
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -95,10 +95,10 @@ export default {
'models.catalog.release.date': 'Release Date',
'models.localpath.gguf.tips.title': 'GGUF format model',
'models.localpat.safe.tips.title': 'Safetensors format model',
'models.localpath.shared.tips.title': 'Sharded model',
'models.localpath.shared.tips.title': 'Sharded GGUF Format Model',
'models.localpath.gguf.tips':
' Specify the model file, e.g., /usr/local/models/model.gguf.',
'models.localpath.safe.tips':
'Specify the model directory that contains .safetensors and config.json files, e.g., /usr/local/models/.',
'models.localpath.chunks.tips': `Specify the first shard file of the model, e.g., /usr/local/models/model-00001-of-00004.(gguf|safetensors).`
'Specify the model directory that contains .safetensors and config.json files, e.g., /usr/local/models/model/.',
'models.localpath.chunks.tips': `Specify the first shard file of the model, e.g., /usr/local/models/model-00001-of-00004.gguf.`
};
+3 -3
View File
@@ -91,11 +91,11 @@ export default {
'models.catalog.release.date': '发布日期',
'models.localpath.gguf.tips.title': 'GGUF 格式模型',
'models.localpat.safe.tips.title': 'safetensors 格式模型',
'models.localpath.shared.tips.title': '分片的模型',
'models.localpath.shared.tips.title': '分片的 GGUF 格式模型',
'models.localpath.gguf.tips':
'指向模型文件,例如 /usr/local/models/model.gguf',
'models.localpath.safe.tips':
'指向包含 .safetensors, config.json 文件的模型目录,例如 /usr/local/models/',
'指向包含 .safetensors, config.json 文件的模型目录,例如 /usr/local/models/model/',
'models.localpath.chunks.tips':
'指向模型第一个分片文件,例如 /usr/local/models/model-00001-of-00004.(gguf|safetensors)'
'指向模型第一个分片文件,例如 /usr/local/models/model-00001-of-00004.gguf'
};
+4 -4
View File
@@ -104,13 +104,13 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
title: intl.formatMessage({ id: 'models.localpath.gguf.tips.title' }),
tips: intl.formatMessage({ id: 'models.localpath.gguf.tips' })
},
{
title: intl.formatMessage({ id: 'models.localpat.safe.tips.title' }),
tips: intl.formatMessage({ id: 'models.localpath.safe.tips' })
},
{
title: intl.formatMessage({ id: 'models.localpath.shared.tips.title' }),
tips: intl.formatMessage({ id: 'models.localpath.chunks.tips' })
},
{
title: intl.formatMessage({ id: 'models.localpat.safe.tips.title' }),
tips: intl.formatMessage({ id: 'models.localpath.safe.tips' })
}
];