sreepathi-ravikumar commited on
Commit
0448006
·
verified ·
1 Parent(s): 45b397a

Update text2generation.py

Browse files
Files changed (1) hide show
  1. text2generation.py +1 -1
text2generation.py CHANGED
@@ -8,7 +8,7 @@ def generate_long_answer(question):
8
  response = requests.post(
9
  url="https://openrouter.ai/api/v1/chat/completions",
10
  headers={
11
- "Authorization": f"Bearer {os.getenv('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')}",
12
  "Content-Type": "application/json",
13
  "HTTP-Referer": "https://your-huggingface-space-url.hf.space",
14
  "X-Title": "Educational AI Assistant"
 
8
  response = requests.post(
9
  url="https://openrouter.ai/api/v1/chat/completions",
10
  headers={
11
+ "Authorization": f"Bearer {os.getenv('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')}",
12
  "Content-Type": "application/json",
13
  "HTTP-Referer": "https://your-huggingface-space-url.hf.space",
14
  "X-Title": "Educational AI Assistant"