fix: dont log entire image in console

This commit is contained in:
max_richter 2023-11-23 15:00:19 +01:00
parent 2da2e10259
commit 5d1a7e98c1

View File

@ -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];
} }