Spaces:
Sleeping
Sleeping
EmmaScharfmann HF Staff
Add type filter to Pending/History tabs; review feedback.jsonl alongside requests.jsonl
c716b25 Download about.py from EmmaScharfmann/request-moderator: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/spaces/EmmaScharfmann/request-moderator/resolve/main/about.py
- Command line
-
hf download hf://spaces/EmmaScharfmann/request-moderator/about.py
-
curl -L -o about.py https://huggingface.co/spaces/EmmaScharfmann/request-moderator/resolve/main/about.py
452 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| DATASET_REPO = os.environ.get("HF_DATASET_REPO", "hugging-science/request") | |
| REQUESTS_FILE = "requests.jsonl" | |
| FEEDBACK_FILE = "feedback.jsonl" | |
| TOKEN = os.environ.get("HF_TOKEN") | |
| ADMIN_USERS = {u.strip() for u in os.environ.get("ADMIN_USERS", "").split(",") if u.strip()} | |
| GITHUB_REPO = os.environ.get("GITHUB_REPO", "georgiachanning/huggingscience-dot-co") | |
| GITHUB_API = "https://api.github.com" | |