Skip to content

Commit 969ef81

Browse files
committed
updated lite
1 parent 45f0cc7 commit 969ef81

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

klite.embd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13983,7 +13983,7 @@ Current version indicated by LITEVER below.
1398313983

1398413984
function set_voice_clone()
1398513985
{
13986-
inputBoxOkCancel("Set the Voice Clone JSON to clone an existing voice.<br><br><a href=''>You can download existing voice clone JSONs, or make your own.</span><br>","Apply Voice Clone JSON",kcpp_tts_json,"Paste JSON Here",()=>{
13986+
inputBoxOkCancel("Set the Voice Clone JSON to clone an existing voice.<br><br><a href='https://github.com/LostRuins/koboldcpp/tree/concedo/examples/outetts/speakers' target='_blank'>You can download existing voice clone JSONs, or make your own.</span><br>","Apply Voice Clone JSON",kcpp_tts_json,"Paste JSON Here",()=>{
1398713987
let userinput = getInputBoxValue().trim();
1398813988
try
1398913989
{
@@ -14466,6 +14466,14 @@ Current version indicated by LITEVER below.
1446614466
console.error('Error:', error);
1446714467
});
1446814468
}
14469+
else
14470+
{
14471+
//sometimes if oai hasnt started streaming but we need to kill the connection, direct abort
14472+
if(globalabortcontroller && is_browser_supports_sse() && synchro_pending_stream=="" && localsettings.tokenstreammode!=0 && id_to_cancel && id_to_cancel != "-1" && id_to_cancel != "")
14473+
{
14474+
trigger_abort_controller();
14475+
}
14476+
}
1446914477
show_abort_button(false);
1447014478
}
1447114479

0 commit comments

Comments
 (0)