From 5fd466b53fb8ac24a18bd6ffba1c658b5a9f31f2 Mon Sep 17 00:00:00 2001 From: valadaptive Date: Sun, 10 Dec 2023 13:54:39 -0500 Subject: [PATCH] Fix generateQuietPrompt --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {