fix: Change Lora weight bounds to -1 to 2

This commit is contained in:
blessedcoolant 2023-07-05 18:07:14 +12:00
parent 71310a180d
commit 1fb317243d

View File

@ -35,13 +35,14 @@ const ParamLora = (props: Props) => {
label={lora.name} label={lora.name}
value={lora.weight} value={lora.weight}
onChange={handleChange} onChange={handleChange}
min={0} min={-1}
max={1} max={2}
step={0.01} step={0.01}
withInput withInput
withReset withReset
handleReset={handleReset} handleReset={handleReset}
withSliderMarks withSliderMarks
sliderMarks={[-1, 0, 1, 2]}
/> />
<IAIIconButton <IAIIconButton
size="sm" size="sm"