So I can more easily track that all the boys are staying involved
// Generate an image when requested
socket.on('generate', (request) => {
// Generate an image when requested
socket.on('generate', (request) => {
- console.log(`Generating image with code=${request['code']} and prompt=${request['prompt']}`);
+ console.log(`Generating image for ${socket.request.session.name} with code=${request['code']} and prompt=${request['prompt']}`);
async function generate_image(code, prompt) {
var promise;
if (code) {
async function generate_image(code, prompt) {
var promise;
if (code) {