mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Change Lora weight bounds to -1 to 2
This commit is contained in:
parent
71310a180d
commit
1fb317243d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user