Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import sys
|
|
| 6 |
# 0. Configuration
|
| 7 |
# =====================================
|
| 8 |
REPO_ID = "wenhanacademia/ai_paper_finder" # your private repo with DB + code
|
| 9 |
-
HF_TOKEN = os.getenv("HF_TOKEN") # set in Space Settings → Variables
|
| 10 |
ENTRY_FILE = "app.py" # entry point inside that repo
|
| 11 |
|
| 12 |
# =====================================
|
|
|
|
| 6 |
# 0. Configuration
|
| 7 |
# =====================================
|
| 8 |
REPO_ID = "wenhanacademia/ai_paper_finder" # your private repo with DB + code
|
| 9 |
+
HF_TOKEN = os.getenv("HF_TOKEN", "").strip() # set in Space Settings → Variables
|
| 10 |
ENTRY_FILE = "app.py" # entry point inside that repo
|
| 11 |
|
| 12 |
# =====================================
|