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}
|
||||
step={0.01}
|
||||
min={0.01}
|
||||
max={0.99}
|
||||
max={1}
|
||||
onChange={handleChangeStrength}
|
||||
value={img2imgStrength}
|
||||
isInteger={false}
|
||||
|
@ -425,7 +425,7 @@ class Generate:
|
||||
assert cfg_scale > 1.0, 'CFG_Scale (-C) must be >1.0'
|
||||
assert threshold >= 0.0, '--threshold must be >=0.0'
|
||||
assert (
|
||||
0.0 < strength < 1.0
|
||||
0.0 < strength <= 1.0
|
||||
), 'img2img and inpaint strength can only work with 0.0 < strength < 1.0'
|
||||
assert (
|
||||
0.0 <= variation_amount <= 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user