Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,10 @@ from datetime import datetime, timedelta
|
|
| 11 |
import os
|
| 12 |
|
| 13 |
# Load environment variables for Hugging Face Spaces
|
| 14 |
-
OPENAI_API_KEY = os.getenv("
|
| 15 |
-
DEEPSEEK_API_KEY = os.getenv("
|
| 16 |
-
GOOGLE_CSE_KEYS = os.getenv("
|
| 17 |
-
GOOGLE_CSE_IDS = os.getenv("
|
| 18 |
|
| 19 |
class CitationChecker:
|
| 20 |
def __init__(self):
|
|
|
|
| 11 |
import os
|
| 12 |
|
| 13 |
# Load environment variables for Hugging Face Spaces
|
| 14 |
+
OPENAI_API_KEY = os.getenv("OAPI1", "")
|
| 15 |
+
DEEPSEEK_API_KEY = os.getenv("DAPI", "")
|
| 16 |
+
GOOGLE_CSE_KEYS = os.getenv("API1", "") # comma-separated
|
| 17 |
+
GOOGLE_CSE_IDS = os.getenv("CX1", "") # comma-separated
|
| 18 |
|
| 19 |
class CitationChecker:
|
| 20 |
def __init__(self):
|