diff --git a/public/index.html b/public/index.html index ceb0010ca..598358bcc 100644 --- a/public/index.html +++ b/public/index.html @@ -28,21 +28,7 @@ - - - + @@ -150,7 +136,7 @@

API url

Example: http://127.0.0.1:7860/
- +
@@ -168,8 +154,9 @@ ? - + + View API Usage Metrics
diff --git a/public/script.js b/public/script.js index bcd119234..ed17f64ff 100644 --- a/public/script.js +++ b/public/script.js @@ -2843,13 +2843,20 @@ $(document).ready(function () { easing: animation_rm_easing, queue: false, complete: function () { - + /*if (!selected_group) { + var typingIndicator = $("#typing_indicator_template .typing_indicator").clone(); + typingIndicator.find(".typing_indicator_name").text(characters[this_chid].name); + } */ + /* $("#chat").append(typingIndicator); */ const is_animation_scroll = ($('#chat').scrollTop() >= ($('#chat').prop("scrollHeight") - $('#chat').outerHeight()) - 10); //console.log(parseInt(chat[chat.length-1]['swipe_id'])); //console.log(chat[chat.length-1]['swipes'].length); if (run_generate && parseInt(chat[chat.length - 1]['swipe_id']) === chat[chat.length - 1]['swipes'].length) { //console.log('showing ""..."'); + /* if (!selected_group) { + } else { */ $("#chat").children().filter('[mesid="' + (count_view_mes - 1) + '"]').children('.mes_block').children('.mes_text').html('...'); //shows "..." while generating + /* } */ } else { //console.log('showing previously generated swipe candidate, or "..."'); //console.log('onclick right swipe calling addOneMessage'); diff --git a/public/style.css b/public/style.css index c237c493f..326965a92 100644 --- a/public/style.css +++ b/public/style.css @@ -661,7 +661,6 @@ select { font-size: 15px; border: 1px solid var(--white30a); border-radius: 10px; - width: 100%; margin-bottom:10px; } @@ -682,10 +681,7 @@ select option:not(:checked) { #rm_api_block { display: none; - padding-bottom: 5px; overflow-y: auto; - grid-template-rows: auto; - grid-gap: 10px; } .API-logo {