diff --git a/public/script.js b/public/script.js index 8b9a489ab..cc678e3d5 100644 --- a/public/script.js +++ b/public/script.js @@ -1509,6 +1509,7 @@ $(document).ready(function () { textgenerationwebui_settings.top_p, // top_p textgenerationwebui_settings.typical_p, // typical_p textgenerationwebui_settings.rep_pen, // repetition_penalty + 1.0, // encoder rep pen textgenerationwebui_settings.top_k, // top_k 0, // min_length textgenerationwebui_settings.rep_pen_size, // no_repeat_ngram_size @@ -1584,7 +1585,7 @@ $(document).ready(function () { } else if (main_api == 'textgenerationwebui') { getMessage = data.data[0]; if (getMessage == null || data.error) { - popup_type = 'default'; + popup_type = 'text'; callPopup('

Got empty response from Text generation web UI. Try restarting the API with recommended options.

'); return; }