15 пре 1 месец
родитељ
комит
1a078657d8
No account linked to committer's email address

+ 3
- 4
web/app/components/base/param-item/score-threshold-item.tsx Прегледај датотеку

@@ -20,7 +20,6 @@ const VALUE_LIMIT = {
max: 1,
}

const key = 'score_threshold'
const ScoreThresholdItem: FC<Props> = ({
className,
value,
@@ -39,9 +38,9 @@ const ScoreThresholdItem: FC<Props> = ({
return (
<ParamItem
className={className}
id={key}
name={t(`appDebug.datasetConfig.${key}`)}
tip={t(`appDebug.datasetConfig.${key}Tip`) as string}
id='score_threshold'
name={t('appDebug.datasetConfig.score_threshold')}
tip={t('appDebug.datasetConfig.score_thresholdTip') as string}
{...VALUE_LIMIT}
value={value}
enable={enable}

+ 3
- 4
web/app/components/base/param-item/top-k-item.tsx Прегледај датотеку

@@ -24,7 +24,6 @@ const VALUE_LIMIT = {
max: maxTopK,
}

const key = 'top_k'
const TopKItem: FC<Props> = ({
className,
value,
@@ -41,9 +40,9 @@ const TopKItem: FC<Props> = ({
return (
<ParamItem
className={className}
id={key}
name={t(`appDebug.datasetConfig.${key}`)}
tip={t(`appDebug.datasetConfig.${key}Tip`) as string}
id='top_k'
name={t('appDebug.datasetConfig.top_k')}
tip={t('appDebug.datasetConfig.top_kTip') as string}
{...VALUE_LIMIT}
value={value}
enable={enable}

Loading…
Откажи
Сачувај