From dedf1ecc9d04b286dead86474a47150ba3267597 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 28 May 2024 08:03:03 +0700 Subject: [PATCH] chore(web): valid steps for setting max distance (#9791) --- .../machine-learning-settings/machine-learning-settings.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/components/admin-page/settings/machine-learning-settings/machine-learning-settings.svelte b/web/src/lib/components/admin-page/settings/machine-learning-settings/machine-learning-settings.svelte index b570681774..1b85352f9e 100644 --- a/web/src/lib/components/admin-page/settings/machine-learning-settings/machine-learning-settings.svelte +++ b/web/src/lib/components/admin-page/settings/machine-learning-settings/machine-learning-settings.svelte @@ -98,7 +98,7 @@ inputType={SettingInputFieldType.NUMBER} label="MAX DETECTION DISTANCE" bind:value={config.machineLearning.duplicateDetection.maxDistance} - step="0.01" + step="0.0005" min={0.001} max={0.1} desc="Maximum distance between two images to consider them duplicates, ranging from 0.001-0.1. Higher values will detect more duplicates, but may result in false positives."