Updating API endpoint
Browse files- index.html +1 -1
index.html
CHANGED
@@ -134,7 +134,7 @@
|
|
134 |
$('<div class="message loading new"><figure class="avatar"><img src="bot.png" /></figure><span></span></div>').appendTo($('.mCSB_container'));
|
135 |
|
136 |
// Make a POST request to the chatbot API
|
137 |
-
const response = await fetch("https://
|
138 |
method: "POST",
|
139 |
headers: { "Content-Type": "application/json" },
|
140 |
body: JSON.stringify({
|
|
|
134 |
$('<div class="message loading new"><figure class="avatar"><img src="bot.png" /></figure><span></span></div>').appendTo($('.mCSB_container'));
|
135 |
|
136 |
// Make a POST request to the chatbot API
|
137 |
+
const response = await fetch("https://sds-bosch-watch-api.hf.space/api/predict", {
|
138 |
method: "POST",
|
139 |
headers: { "Content-Type": "application/json" },
|
140 |
body: JSON.stringify({
|