mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Change to auto EoL and fix property missing from assignment of hires fix
This commit is contained in:
parent
fd722ddf7d
commit
ad16581ab8
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
endOfLine: 'crlf',
|
endOfLine: 'auto',
|
||||||
semi: true,
|
semi: true,
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
overrides: [
|
overrides: [
|
||||||
|
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" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||||
<link rel="shortcut icon" type="icon" href="./assets/favicon-0d253ced.ico" />
|
<link rel="shortcut icon" type="icon" href="./assets/favicon-0d253ced.ico" />
|
||||||
<script type="module" crossorigin src="./assets/index-6dcf2dc0.js"></script>
|
<script type="module" crossorigin src="./assets/index-720872d1.js"></script>
|
||||||
<link rel="stylesheet" href="./assets/index-14cb2922.css">
|
<link rel="stylesheet" href="./assets/index-14cb2922.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -47,9 +47,10 @@ export const postprocessingSlice = createSlice({
|
|||||||
) => {
|
) => {
|
||||||
const { type, hires_fix } = action.payload.image;
|
const { type, hires_fix } = action.payload.image;
|
||||||
|
|
||||||
if (type === 'txt2img' && typeof hires_fix === 'boolean')
|
if (type === 'txt2img') {
|
||||||
state.hiresFix = hires_fix;
|
state.hiresFix = Boolean(hires_fix);
|
||||||
// Strength of img2img used in hires_fix is not currently exposed in the Metadata for the final image.
|
// Strength of img2img used in hires_fix is not currently exposed in the Metadata for the final image.
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setFacetoolStrength: (state, action: PayloadAction<number>) => {
|
setFacetoolStrength: (state, action: PayloadAction<number>) => {
|
||||||
state.facetoolStrength = action.payload;
|
state.facetoolStrength = action.payload;
|
||||||
|
Loading…
Reference in New Issue
Block a user