diff --git a/public/script.js b/public/script.js index 98481d21c..1d08d4525 100644 --- a/public/script.js +++ b/public/script.js @@ -2308,7 +2308,7 @@ function getStoppingStrings(isImpersonate, isContinue) { export async function generateQuietPrompt(quiet_prompt, quietToLoud, skipWIAN, quietImage = null) { console.log('got into genQuietPrompt'); const generateFinished = await Generate('quiet', { quiet_prompt, quietToLoud, skipWIAN: skipWIAN, force_name2: true, quietImage: quietImage }); - await generateFinished; + return generateFinished; } async function processCommands(message, type, dryRun) {