Skip to content

Commit

Permalink
escape incoming stream too
Browse files Browse the repository at this point in the history
  • Loading branch information
Concedo authored and Concedo committed Jul 25, 2023
1 parent 8060bad commit 94f4359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7723,7 +7723,7 @@
}
if(synchro_pending_stream!="")
{
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><p>`+"<span class=\"color_yellow\">" + escapeHtml(pending_context_preinjection) + synchro_pending_stream + "</span>"+`</p></div></div></div>`;
newbodystr += `<div class="incoming_msg"><div class="chat_received_msg"><div class="chat_received_withd_msg"><p>`+"<span class=\"color_yellow\">" + escapeHtml(pending_context_preinjection) + escapeHtml(synchro_pending_stream) + "</span>"+`</p></div></div></div>`;
}

chatbody.innerHTML = newbodystr;
Expand Down Expand Up @@ -8492,7 +8492,7 @@
<div class="settinglabel">
<div class="justifyleft settingsmall">Top p Sampling <span class="helpicon">?<span class="helptext">Used
to discard unlikely text in the sampling process. Lower values will make text
more predictable but can become repetitious.</span></span></div>
more predictable but can become repetitious. Set to 1 to deactivate it.</span></span></div>
<input inputmode="numeric" class="justifyright flex-push-right settingsmall" id="top_p" value=80 oninput="
document.getElementById('top_p_slide').value = this.value;">
</div>
Expand Down

0 comments on commit 94f4359

Please sign in to comment.