Update app.js
Browse files
app.js
CHANGED
@@ -19,9 +19,9 @@ const results = [];
|
|
19 |
const res = await fetch("https://openrouter.ai/api/v1/chat/completions", {
|
20 |
method: "POST",
|
21 |
headers: {
|
22 |
-
"Authorization": "Bearer " +
|
23 |
"Content-Type": "application/json",
|
24 |
-
"HTTP-Referer": "https://
|
25 |
},
|
26 |
body: JSON.stringify({
|
27 |
model,
|
|
|
19 |
const res = await fetch("https://openrouter.ai/api/v1/chat/completions", {
|
20 |
method: "POST",
|
21 |
headers: {
|
22 |
+
"Authorization": "Bearer " + "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",
|
23 |
"Content-Type": "application/json",
|
24 |
+
"HTTP-Referer": "https://huggingface.co/spaces/studycode129/Free_Web_LLM_Tester"
|
25 |
},
|
26 |
body: JSON.stringify({
|
27 |
model,
|