chandrakant111 commited on
Commit
b68facc
·
verified ·
1 Parent(s): 9c47b97

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -38,7 +38,7 @@ async function go(){
38
  let r=await fetch('https://api.groq.com/openai/v1/chat/completions',{
39
  method:'POST',
40
  headers:{'Content-Type':'application/json','Authorization':'Bearer '+k},
41
- body:JSON.stringify({model:'llama-3.3-70b-versatile',messages:[{role:'user',content:t}]})
42
  });
43
  let d=await r.json();
44
  if(!r.ok) throw new Error(d.error?.message||JSON.stringify(d));
 
38
  let r=await fetch('https://api.groq.com/openai/v1/chat/completions',{
39
  method:'POST',
40
  headers:{'Content-Type':'application/json','Authorization':'Bearer '+k},
41
+ body:JSON.stringify({model:'llama-3.1-8b-instant',messages:[{role:'user',content:t}]})
42
  });
43
  let d=await r.json();
44
  if(!r.ok) throw new Error(d.error?.message||JSON.stringify(d));