fix: edit image: image field is null

This commit is contained in:
jialin
2025-03-06 16:34:55 +08:00
parent 25d70b7b49
commit b0ac85d81d
8 changed files with 996 additions and 916 deletions
+5 -2
View File
@@ -141,9 +141,12 @@ export default {
'playground.image.fitview': 'Fit View',
'playground.chat.aithought': 'CoT',
'playground.image.mask.uploaded': 'Mask Uploaded',
'playground.image.mask.upload': 'Upload Mask: takes priority in submission.',
'playground.image.mask.upload':
'Upload Mask: No additional drawing allowed after upload.',
'playground.params.frequency_penalty.tips': `Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.`,
'playground.params.presence_penalty.tips': `Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.`,
'playground.image.origin': 'Original',
'playground.image.mask': 'Mask'
'playground.image.mask': 'Mask',
'playground.image.negativeMask.tips':
'After selection, no further masking can be drawn; therefore, you should draw the mask first and then check the option.'
};
+5 -2
View File
@@ -138,9 +138,12 @@ export default {
'playground.image.fitview': 'Подогнать размер',
'playground.chat.aithought': 'Рассуждение (CoT)',
'playground.image.mask.uploaded': 'Маска загружена',
'playground.image.mask.upload':'Загрузить маску: имеет приоритет при отправке',
'playground.image.mask.upload':
'TODO: Translate key "playground.image.mask.upload"',
'playground.params.frequency_penalty.tips': `Число от -2.0 до 2.0. Положительные значения снижают вероятность повторения токенов, уже часто встречающихся в тексте, уменьшая склонность модели дословно повторять одни и те же фразы.`,
'playground.params.presence_penalty.tips': `Число от -2.0 до 2.0. Положительные значения снижают вероятность повторения любых токенов, присутствующих в тексте, повышая склонность модели к обсуждению новых тем.`,
'playground.image.origin': 'Оригинал',
'playground.image.mask': 'Маска'
'playground.image.mask': 'Маска',
'playground.image.negativeMask.tips':
'TODO: Translate key "playground.image.negativeMask.tips"'
};
+4 -2
View File
@@ -136,9 +136,11 @@ export default {
'playground.image.fitview': '适应视图',
'playground.chat.aithought': '思考过程',
'playground.image.mask.uploaded': '遮罩已上传',
'playground.image.mask.upload': '上传遮罩:在提交时优先使用',
'playground.image.mask.upload': '上传遮罩:上传后将不可再绘制',
'playground.params.frequency_penalty.tips': `数值介于 -2.0 和 2.0 之间。正值会根据新词在文本中已出现的频率对其进行惩罚,从而降低模型逐字重复相同内容的可能性。`,
'playground.params.presence_penalty.tips': `数值介于 -2.0 和 2.0 之间。正值会根据新词是否已在文本中出现过对其进行惩罚,从而增加模型谈论新话题的可能性。`,
'playground.image.origin': '原图',
'playground.image.mask': '遮罩'
'playground.image.mask': '遮罩',
'playground.image.negativeMask.tips':
'选择后,将不可再绘制遮罩;因此,你应该先绘制遮罩然后再勾选'
};