Fixes missing gallery category on generated images

This commit is contained in:
psychedelicious 2022-10-30 17:28:29 +11:00
parent e431d296c0
commit 52e74fef7c
3 changed files with 20 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,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.57b0f348.js"></script>
<script type="module" crossorigin src="./assets/index.1d211108.js"></script>
<link rel="stylesheet" href="./assets/index.64a76932.css">
</head>

View File

@ -33,7 +33,10 @@ import {
setMaskPath,
} from '../../features/options/optionsSlice';
import { requestImages, requestNewImages } from './actions';
import { clearImageToInpaint, setImageToInpaint } from '../../features/tabs/Inpainting/inpaintingSlice';
import {
clearImageToInpaint,
setImageToInpaint,
} from '../../features/tabs/Inpainting/inpaintingSlice';
/**
* Returns an object containing listener callbacks for socketio events.
@ -99,6 +102,7 @@ const makeSocketIOListeners = (
image: {
uuid: uuidv4(),
...data,
category: 'result',
},
})
);
@ -144,6 +148,7 @@ const makeSocketIOListeners = (
image: {
uuid: uuidv4(),
...data,
category: 'result',
},
})
);