|
|
|
@ -607,6 +607,10 @@ export function FreeFlow(){ |
|
|
|
const user_input = history.find(msg => msg.role === 'user' && msg.content!='...'); |
|
|
|
const user_input = history.find(msg => msg.role === 'user' && msg.content!='...'); |
|
|
|
const default_image=!(user_input && user_input.content.trim() !== ''); |
|
|
|
const default_image=!(user_input && user_input.content.trim() !== ''); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const order=parseInt(data?.id)||Math.floor(Math.random()*10+5); |
|
|
|
|
|
|
|
const delay=order*2000; |
|
|
|
|
|
|
|
console.log('export delay time:', delay); |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(()=>{ |
|
|
|
setTimeout(()=>{ |
|
|
|
if(isTest) { |
|
|
|
if(isTest) { |
|
|
|
sendOsc(OSC_ADDRESS.EXPORT, `${getUploadFolder()}#${getDataId()}#${summary||''}#${getFileId(padInput)}#${choice||''}#generated`); // Send OSC export message |
|
|
|
sendOsc(OSC_ADDRESS.EXPORT, `${getUploadFolder()}#${getDataId()}#${summary||''}#${getFileId(padInput)}#${choice||''}#generated`); // Send OSC export message |
|
|
|
@ -615,7 +619,7 @@ export function FreeFlow(){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, Math.random()*5000+500); // random delay between 0.5s to 5.5s |
|
|
|
}, delay); // random delay between 0.5s to 5.5s |
|
|
|
|
|
|
|
|
|
|
|
writeSheet(); |
|
|
|
writeSheet(); |
|
|
|
} |
|
|
|
} |
|
|
|
|