Revert Threshold Slider to older values

This commit is contained in:
blessedcoolant 2023-02-21 02:57:00 +13:00
parent 136cd0e868
commit 078f897b67
2 changed files with 2 additions and 5 deletions

View File

@ -176,9 +176,6 @@ export const frontendToBackendParameters = (
let esrganParameters: false | BackendEsrGanParameters = false;
let facetoolParameters: false | BackendFacetoolParameters = false;
// Multiplying it by 10000 so the Slider can have values between 0 and 1 which makes more sense
generationParameters.threshold = threshold * 1000;
generationParameters.h_symmetry_time_pct = Math.max(
0,
Math.min(1, horizontalSymmetryTimePercentage / steps)

View File

@ -15,8 +15,8 @@ export default function Threshold() {
<IAISlider
label={t('parameters.noiseThreshold')}
min={0}
max={1}
step={0.005}
max={20}
step={0.1}
onChange={(v) => dispatch(setThreshold(v))}
handleReset={() => dispatch(setThreshold(0))}
value={threshold}