From 1fb317243d9731e86d645e6d00bb806f54fc7bf4 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Wed, 5 Jul 2023 18:07:14 +1200 Subject: [PATCH] fix: Change Lora weight bounds to -1 to 2 --- .../frontend/web/src/features/lora/components/ParamLora.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/lora/components/ParamLora.tsx b/invokeai/frontend/web/src/features/lora/components/ParamLora.tsx index 277a316fae..23459e9410 100644 --- a/invokeai/frontend/web/src/features/lora/components/ParamLora.tsx +++ b/invokeai/frontend/web/src/features/lora/components/ParamLora.tsx @@ -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]} />