Spaces:
Paused
Paused
Fix typo in chat.js
Browse filesoccured -> occurred
- client/js/chat.js +1 -1
client/js/chat.js
CHANGED
|
@@ -159,7 +159,7 @@ const ask_gpt = async (message) => {
|
|
| 159 |
// if text contains :
|
| 160 |
if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
|
| 161 |
document.getElementById(`gpt_${window.token}`).innerHTML =
|
| 162 |
-
"An error
|
| 163 |
}
|
| 164 |
|
| 165 |
add_message(window.conversation_id, "user", message);
|
|
|
|
| 159 |
// if text contains :
|
| 160 |
if (text.includes(`instead. Maintaining this website and API costs a lot of money`)) {
|
| 161 |
document.getElementById(`gpt_${window.token}`).innerHTML =
|
| 162 |
+
"An error occurred, please reload / refresh cache and try again.";
|
| 163 |
}
|
| 164 |
|
| 165 |
add_message(window.conversation_id, "user", message);
|