Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -354,7 +354,7 @@
|
|
354 |
let startTime = Date.now();
|
355 |
let result = await fetch(`${serverOrigin.trim().replace(/\/$/, "")}/v1/chat/completions`, {
|
356 |
headers: {
|
357 |
-
"content-type": "application/json"
|
358 |
"Authorization": `Bearer ${apiKeyEl.value}`,
|
359 |
},
|
360 |
body: JSON.stringify({
|
|
|
354 |
let startTime = Date.now();
|
355 |
let result = await fetch(`${serverOrigin.trim().replace(/\/$/, "")}/v1/chat/completions`, {
|
356 |
headers: {
|
357 |
+
"content-type": "application/json",
|
358 |
"Authorization": `Bearer ${apiKeyEl.value}`,
|
359 |
},
|
360 |
body: JSON.stringify({
|