sreepathi-ravikumar commited on
Commit
3eb2902
·
verified ·
1 Parent(s): 209c7f2

Update text2generation.py

Browse files
Files changed (1) hide show
  1. text2generation.py +1 -1
text2generation.py CHANGED
@@ -9,7 +9,7 @@ def generate_long_answer(question):
9
  response = client.post(
10
  url="https://openrouter.ai/api/v1/chat/completions",
11
  headers={
12
- "Authorization": f"Bearer {os.getenv('OPENROUTER_API_KEY')}",
13
  "Content-Type": "application/json",
14
  "HTTP-Referer": "https://sreepathi-ravikumar-sample.hf.space",
15
  "X-Title": "Educational AI Assistant"
 
9
  response = client.post(
10
  url="https://openrouter.ai/api/v1/chat/completions",
11
  headers={
12
+ "Authorization": f"Bearer {os.getenv('OPENROUTER_API_NEW')}",
13
  "Content-Type": "application/json",
14
  "HTTP-Referer": "https://sreepathi-ravikumar-sample.hf.space",
15
  "X-Title": "Educational AI Assistant"