Commit
·
2390aea
1
Parent(s):
4f83266
Update script.js
Browse files
script.js
CHANGED
@@ -4,7 +4,7 @@ document.getElementById('send-button').addEventListener('click', function() {
|
|
4 |
});
|
5 |
|
6 |
function sendMessage(message) {
|
7 |
-
fetch('https://huggingface.co/spaces/Mosberg-Control/CodeNinjaOpenChat', {
|
8 |
method: 'POST',
|
9 |
headers: {
|
10 |
'Content-Type': 'application/json',
|
|
|
4 |
});
|
5 |
|
6 |
function sendMessage(message) {
|
7 |
+
fetch('https://huggingface.co/spaces/Mosberg-Control/CodeNinjaOpenChat/chat', {
|
8 |
method: 'POST',
|
9 |
headers: {
|
10 |
'Content-Type': 'application/json',
|