mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Initial Slider & Img2Img=1 Updates
This commit is contained in:
parent
23aaf54f56
commit
9826f80d7f
@ -29,7 +29,7 @@ export default function ImageToImageStrength(props: ImageToImageStrengthProps) {
|
|||||||
label={label}
|
label={label}
|
||||||
step={0.01}
|
step={0.01}
|
||||||
min={0.01}
|
min={0.01}
|
||||||
max={0.99}
|
max={1}
|
||||||
onChange={handleChangeStrength}
|
onChange={handleChangeStrength}
|
||||||
value={img2imgStrength}
|
value={img2imgStrength}
|
||||||
isInteger={false}
|
isInteger={false}
|
||||||
|
@ -425,7 +425,7 @@ class Generate:
|
|||||||
assert cfg_scale > 1.0, 'CFG_Scale (-C) must be >1.0'
|
assert cfg_scale > 1.0, 'CFG_Scale (-C) must be >1.0'
|
||||||
assert threshold >= 0.0, '--threshold must be >=0.0'
|
assert threshold >= 0.0, '--threshold must be >=0.0'
|
||||||
assert (
|
assert (
|
||||||
0.0 < strength < 1.0
|
0.0 < strength <= 1.0
|
||||||
), 'img2img and inpaint strength can only work with 0.0 < strength < 1.0'
|
), 'img2img and inpaint strength can only work with 0.0 < strength < 1.0'
|
||||||
assert (
|
assert (
|
||||||
0.0 <= variation_amount <= 1.0
|
0.0 <= variation_amount <= 1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user