1
0
Fork 0

fix{gui): send highres parameters on upscale tab

This commit is contained in:
Sean Sube 2023-06-19 17:43:02 -05:00
parent 0927e0bfc6
commit 3c5641b9a7
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ import { HighresControl } from '../control/HighresControl.js';
export function Upscale() {
async function uploadSource() {
const { model, upscale } = state.getState();
const { highres, model, upscale } = state.getState();
const { image, retry } = await client.upscale(model, {
...params,
source: mustExist(params.source), // TODO: show an error if this doesn't exist
}, upscale);
}, upscale, highres);
pushHistory(image, retry);
}