1
0
Fork 0

fix(gui): send strength for img2img requests

This commit is contained in:
Sean Sube 2023-01-14 17:06:45 -06:00
parent c29c92ed90
commit 26a8ce7095
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ export function makeClient(root: string, f = fetch): ApiClient {
}
const url = makeImageURL(root, 'img2img', params);
url.searchParams.append('strength', params.strength.toFixed(2));
const body = new FormData();
body.append('source', params.source, 'source');