fix: dont log entire image in console
This commit is contained in:
parent
2da2e10259
commit
5d1a7e98c1
@ -45,7 +45,7 @@ export async function generateImage(prompt: string, negativePrompt: string) {
|
|||||||
|
|
||||||
const responseJSON = await response.json();
|
const responseJSON = await response.json();
|
||||||
|
|
||||||
console.log(responseJSON.artifacts[0])
|
console.log({ finishReason: responseJSON.artifacts[0].finishReason, seed: responseJSON.artifacts[0].seed })
|
||||||
|
|
||||||
return responseJSON.artifacts[0];
|
return responseJSON.artifacts[0];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user