diff --git a/klite.embd b/klite.embd
index 954fbf3d0..5589f7930 100644
--- a/klite.embd
+++ b/klite.embd
@@ -6,7 +6,7 @@ It requires no dependencies, installation or setup.
Just copy this single static HTML file anywhere and open it in a browser, or from a webserver.
Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite.
Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line.
-Current version: 104
+Current version: 105
-Concedo
-->
@@ -5946,6 +5946,30 @@ Current version: 104
document.getElementById("advancedloadfile").classList.add("hidden");
}
+ function confirm_dynatemp()
+ {
+ let a1 = parseFloat(document.getElementById("dynatemp_min").value);
+ let a2 = parseFloat(document.getElementById("dynatemp_max").value);
+ let avg = (a1+a2)*0.5;
+ let diff = Math.abs(a2 - a1)*0.5;
+ document.getElementById("temperature").value = avg.toFixed(3);
+ document.getElementById("dynatemp_range").value = diff.toFixed(3);
+
+ document.getElementById("dynatempcontainer").classList.add("hidden");
+ }
+ function show_dynatemp()
+ {
+ let currtmp = parseFloat(document.getElementById("temperature").value);
+ let currrng = parseFloat(document.getElementById("dynatemp_range").value);
+ let a1 = currtmp - currrng;
+ let a2 = currtmp + currrng;
+ a1 = a1<0?0:a1;
+ a2 = a2<0?0:a2;
+ document.getElementById("dynatemp_min").value = a1.toFixed(2);
+ document.getElementById("dynatemp_max").value = a2.toFixed(2);
+ document.getElementById("dynatempcontainer").classList.remove("hidden");
+ }
+
function explain_horde()
{
msgbox("The AI Horde generates text using crowdsourced GPUs by volunteer workers. By default your inputs are not logged, but as Horde workers are open source, they can be modified to do so.
In all cases, the sender will *always be anonymous*, however you are still advised to avoid sending privacy sensitive information.
For any issues, you can find us on discord at https://koboldai.org/discord","Disclaimer",true);
@@ -12510,7 +12534,7 @@ Current version: 104