Update response
Browse files- index.html +1 -1
index.html
CHANGED
@@ -144,7 +144,7 @@
|
|
144 |
|
145 |
// Extract the chatbot response from the JSON data
|
146 |
const data = await response.json();
|
147 |
-
const responseText = data.data
|
148 |
|
149 |
// Update the output textarea with the chatbot response
|
150 |
$('.message.loading').remove();
|
|
|
144 |
|
145 |
// Extract the chatbot response from the JSON data
|
146 |
const data = await response.json();
|
147 |
+
const responseText = data.data;
|
148 |
|
149 |
// Update the output textarea with the chatbot response
|
150 |
$('.message.loading').remove();
|