fix: Change Lora weight bounds to -1 to 2 (#3645)

This commit is contained in:
blessedcoolant 2023-07-05 18:23:06 +12:00 committed by GitHub
commit 66c10cc2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"