From 7cc9ebff8d4adb87a60d0d10d5377aa66f8032ce Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Thu, 9 Mar 2023 22:05:26 +0200 Subject: [PATCH] Reset prompt bias after first generation --- public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.html b/public/index.html index a03484e8e..c85f3ec8c 100644 --- a/public/index.html +++ b/public/index.html @@ -1412,6 +1412,7 @@ if(is_pygmalion){ if_typing_text = false; message_already_generated +=getMessage; + promptBias = ''; //console.log('AI Response so far: '+message_already_generated); if( message_already_generated.indexOf('You:') === -1 && //if there is no 'You:' in the response msg message_already_generated.indexOf('<|endoftext|>') === -1 && //if there is no stamp in the response msg