Skip to content

Commit

Permalink
fix: Change Lora weight bounds to -1 to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
blessedcoolant committed Jul 5, 2023
1 parent 71310a1 commit 1fb3172
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1fb3172

Please sign in to comment.