chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -24,7 +24,7 @@ export const PromptField = withField(
|
||||
const { name } = useField();
|
||||
const promptName = `${name}.prompt`;
|
||||
const negativePromptName = `${name}.negative_prompt`;
|
||||
// 保障和之前节点testID不变
|
||||
// Guarantee that the testID of the previous node remains unchanged
|
||||
const promptTestIDSuffix = name.replace('inputs.', '');
|
||||
const negativePromptTestIDSuffix = name.replace('inputs.', '');
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ function isPreprocessorDisabled({
|
||||
}) {
|
||||
let disabled = false;
|
||||
|
||||
// 如果当前选项的预处理器已经被当前项选中 从allSelectedPreprocessor中移除
|
||||
// If the preprocessor for the current option is already selected by the current item, remove it from the allSelectedPreprocessor
|
||||
allSelectedPreprocessor = allSelectedPreprocessor.filter(
|
||||
item =>
|
||||
!(
|
||||
@@ -78,12 +78,12 @@ function isPreprocessorDisabled({
|
||||
),
|
||||
);
|
||||
|
||||
// 不能添加相同的模型
|
||||
// The same model cannot be added
|
||||
if (allSelectedPreprocessor.includes(currentOptionPreprocessor)) {
|
||||
disabled = true;
|
||||
}
|
||||
|
||||
// 1到4编号最多只能出现两个 4以上编号的模型不做限制
|
||||
// Numbers 1 to 4 can only appear at most two models with numbers above 4, and there is no limit.
|
||||
const group = [1, 2, 3, 4];
|
||||
if (group.includes(currentOptionPreprocessor)) {
|
||||
const isPreprocessorGroup =
|
||||
|
||||
Reference in New Issue
Block a user