Skip to content

Commit

Permalink
revert back to controlnet-hough
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed May 9, 2023
1 parent 5be64e4 commit fba8141
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pages/api/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ export default async function handler(
},
body: JSON.stringify({
version:
"d55b9f2dcfb156089686b8f767776d5b61b007187a4e1e611881818098100fbb",
"854e8727697a057c525cdb45ab037f64ecca770a1769cc52287c2e56472a247b",
input: {
image: imageUrl,
structure: "hough",
image_resolution: "768",
prompt: prompt,
scale: 9,
a_prompt:
Expand Down Expand Up @@ -108,7 +106,7 @@ export default async function handler(
let jsonFinalResponse = await finalResponse.json();

if (jsonFinalResponse.status === "succeeded") {
generatedImage = jsonFinalResponse.output[0] as string;
generatedImage = jsonFinalResponse.output[1] as string;
} else if (jsonFinalResponse.status === "failed") {
break;
} else {
Expand Down

1 comment on commit fba8141

@vercel
Copy link

@vercel vercel bot commented on fba8141 May 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.