diff --git a/public/script.js b/public/script.js index 1b67e3203..63b43726a 100644 --- a/public/script.js +++ b/public/script.js @@ -1453,8 +1453,7 @@ async function Generate(type, automatic_trigger, force_name2) {//encode("dsfs"). } else if (main_api == 'textgenerationwebui') { getMessage = data.data[0]; if (getMessage == null || data.error) { - popup_type = 'default'; - callPopup('

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

'); + callPopup('

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

', 'text'); return; } getMessage = getMessage.substring(finalPromt.length);