fix
This commit is contained in:
parent
e29085c314
commit
b705f68e07
@ -52,13 +52,12 @@ const Txt2ImgHandler: RequestHandler<Txt2ImgRequest, any> = async (ctx, next) =>
|
||||
temp = data.output.text[0];
|
||||
}
|
||||
if (data.node === '94') {
|
||||
resolve({ prompt: temp, url: baseUrl + '/view?filename=' + data.output.images[0].filename, preViewBlobs: preViewBlobs });
|
||||
resolve({ prompt: temp, url: baseUrl + '/view?filename=' + data.output.images[0].filename });
|
||||
}
|
||||
}else if (type === "executing") {
|
||||
}
|
||||
} else if (event.data instanceof Buffer) {
|
||||
console.log(`event.data`, event.data);
|
||||
preViewBlobs.push(event.data);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user