mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fixes #2049 use threshold not setting correct value
This commit is contained in:
parent
4785a1cd05
commit
3feff09fb3
File diff suppressed because one or more lines are too long
2
invokeai/frontend/dist/index.html
vendored
2
invokeai/frontend/dist/index.html
vendored
@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||
<link rel="shortcut icon" type="icon" href="./assets/favicon-0d253ced.ico" />
|
||||
<script type="module" crossorigin src="./assets/index-8606d352.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-77adb35d.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index-b0bf79f4.css">
|
||||
</head>
|
||||
|
||||
|
@ -268,8 +268,11 @@ export const generationSlice = createSlice({
|
||||
if (sampler) state.sampler = sampler;
|
||||
if (steps) state.steps = steps;
|
||||
if (cfg_scale) state.cfgScale = cfg_scale;
|
||||
if (threshold) state.threshold = threshold;
|
||||
if (typeof threshold === 'undefined') state.threshold = 0;
|
||||
if (typeof threshold === 'undefined') {
|
||||
state.threshold = 0;
|
||||
} else {
|
||||
state.threshold = threshold;
|
||||
}
|
||||
if (perlin) state.perlin = perlin;
|
||||
if (typeof perlin === 'undefined') state.perlin = 0;
|
||||
if (typeof seamless === 'boolean') state.seamless = seamless;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user