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}
value={lora.weight}
onChange={handleChange}
min={0}
max={1}
min={-1}
max={2}
step={0.01}
withInput
withReset
handleReset={handleReset}
withSliderMarks
sliderMarks={[-1, 0, 1, 2]}
/>
<IAIIconButton
size="sm"