Spaces:
Sleeping
Sleeping
Update UI2/chatbot.html
Browse files- UI2/chatbot.html +1 -1
UI2/chatbot.html
CHANGED
|
@@ -1013,7 +1013,7 @@
|
|
| 1013 |
|
| 1014 |
const payload = { message: input };
|
| 1015 |
console.log(`Fetch initiated [${messageId}]:`, payload);
|
| 1016 |
-
const response = await fetch('
|
| 1017 |
method: 'POST',
|
| 1018 |
headers: { 'Content-Type': 'application/json' },
|
| 1019 |
body: JSON.stringify(payload),
|
|
|
|
| 1013 |
|
| 1014 |
const payload = { message: input };
|
| 1015 |
console.log(`Fetch initiated [${messageId}]:`, payload);
|
| 1016 |
+
const response = await fetch('https://amrgaberr-injury-prediction-system.hf.space/chat', {
|
| 1017 |
method: 'POST',
|
| 1018 |
headers: { 'Content-Type': 'application/json' },
|
| 1019 |
body: JSON.stringify(payload),
|