Spaces:
Sleeping
Sleeping
strip trailing spaces (#2)
Browse files- strip trailing spaces (fc8bc7706fa3d445c5c6652423406859a3188366)
Co-authored-by: Z <[email protected]>
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):
|