fix{gui): send highres parameters on upscale tab
This commit is contained in:
parent
0927e0bfc6
commit
3c5641b9a7
|
@ -15,11 +15,11 @@ import { HighresControl } from '../control/HighresControl.js';
|
||||||
|
|
||||||
export function Upscale() {
|
export function Upscale() {
|
||||||
async function uploadSource() {
|
async function uploadSource() {
|
||||||
const { model, upscale } = state.getState();
|
const { highres, model, upscale } = state.getState();
|
||||||
const { image, retry } = await client.upscale(model, {
|
const { image, retry } = await client.upscale(model, {
|
||||||
...params,
|
...params,
|
||||||
source: mustExist(params.source), // TODO: show an error if this doesn't exist
|
source: mustExist(params.source), // TODO: show an error if this doesn't exist
|
||||||
}, upscale);
|
}, upscale, highres);
|
||||||
|
|
||||||
pushHistory(image, retry);
|
pushHistory(image, retry);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue