Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -136,7 +136,7 @@
|
|
136 |
// Make a POST request to the chatbot API
|
137 |
const response = await fetch("https://sds-bosch-bha-api.hf.space/predict", {
|
138 |
method: "POST",
|
139 |
-
headers: { "Content-Type": "application/
|
140 |
body: JSON.stringify({
|
141 |
input_text: input,
|
142 |
})
|
|
|
136 |
// Make a POST request to the chatbot API
|
137 |
const response = await fetch("https://sds-bosch-bha-api.hf.space/predict", {
|
138 |
method: "POST",
|
139 |
+
headers: { "Content-Type": "application/text" },
|
140 |
body: JSON.stringify({
|
141 |
input_text: input,
|
142 |
})
|