ProfSule milwright commited on
Commit
a3aad20
·
verified ·
1 Parent(s): 888a8ab

strip trailing spaces (#2)

Browse files

- strip trailing spaces (fc8bc7706fa3d445c5c6652423406859a3188366)


Co-authored-by: Z <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
 
8
  # Configure OpenRouter API
9
  openai.api_base = "https://openrouter.ai/api/v1"
10
- openai.api_key = os.environ.get("OPENROUTER_API_KEY")
11
 
12
  class ScienceTalkGame:
13
  def __init__(self):
 
7
 
8
  # Configure OpenRouter API
9
  openai.api_base = "https://openrouter.ai/api/v1"
10
+ openai.api_key = os.environ.get("OPENROUTER_API_KEY", "").strip()
11
 
12
  class ScienceTalkGame:
13
  def __init__(self):