Skip to content

Commit

Permalink
fix(gui): send strength for img2img requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 14, 2023
1 parent c29c92e commit 26a8ce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 26a8ce7

Please sign in to comment.