studycode129 commited on
Commit
f164c51
·
verified ·
1 Parent(s): c04e9aa

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -2
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 " + key,
23
  "Content-Type": "application/json",
24
- "HTTP-Referer": "https://example.com"
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,