diff --git a/klite.embd b/klite.embd
index 8c3bfd99649d7..7f1011d3ed5e2 100644
--- a/klite.embd
+++ b/klite.embd
@@ -7,7 +7,7 @@ Just copy this single static HTML file anywhere and open it in a browser, or fro
Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite.
If you are submitting a pull request for Lite, PLEASE use the above repo, not the KoboldCpp one.
Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line.
-Current version: 119
+Current version: 120
-Concedo
-->
@@ -10287,6 +10287,9 @@ Current version: 119
sentence = localsettings.image_styles + " " + sentence;
}
+ //remove ###
+ sentence = sentence.replace(/###/gm, "");
+
if (localsettings.generate_images_mode==1) {
sentence = sanitize_horde_image_prompt(sentence);
}
@@ -10525,13 +10528,13 @@ Current version: 119
if(savedmeta)
{
let origprompt = (savedmeta.prompt?replaceAll(savedmeta.prompt,"\n"," ") : "No Saved Description");
- origprompt = escapeHtml(origprompt);
+ latest_orig_prompt = origprompt;
let visionstatus = (savedmeta.enabled?(savedmeta.desc?`Active`:`Analyzing...`):`Inactive`);
let togglebtn = (savedmeta.enabled?``:``);
document.getElementById("zoomedimgdesc").innerHTML = `
AI Vision: `+visionstatus+` ?This allows the AI to visually recognize this image, to see and react to this image. Uses Horde or Local A1111 for image interrogation if enabled.
`+togglebtn+`
-
+
`;
}
else
@@ -10540,6 +10543,11 @@ Current version: 119
}
}
+ var latest_orig_prompt = "";
+ function show_orig_prompt()
+ {
+ msgbox(latest_orig_prompt,"Original Prompt");
+ }
function click_image(target,imghash)
{
if(target)