A newer version of the Gradio SDK is available: 6.24.0
metadata
title: Hugging Science Requests Review
emoji: 🔬
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_scopes:
- email
Hugging Science — requests review
Standalone moderation tool for huggingscience.co, decoupled from the site's
own deploy. It works alongside the existing hugging-science/feedback-api
Space (see ../feedback-api/), not instead of it:
FeedbackWidgeton the site POSTs every submission tohugging-science-feedback-api.hf.space/submit, same as before.- That Space now routes
type: "feedback"tofeedback.jsonl(unchanged) and everything else —dataset/model/organization/blog/challenge— to a newrequests.jsonl, both in thehugging-science/requestdataset. - This Space reads
requests.jsonl, lets the site owner approve or reject each pending row, and on approve opens a GitHub pull request againstgeorgiachanning/huggingscience-dot-coadding the entry to the rightsrc/data/*.jsfile. The site owner still reviews and merges that PR by hand — this tool only removes the manual data-entry step, not the final review.
Required Space secrets
| Secret | Purpose |
|---|---|
GITHUB_TOKEN |
Fine-grained PAT scoped to georgiachanning/huggingscience-dot-co with contents:write + pull-requests:write. |
HF_TOKEN |
Write-scoped HF token for the hugging-science org, used to read/update requests.jsonl. |
ADMIN_USERS |
Comma-separated Hugging Face usernames allowed into the admin UI. |
Optional Space variables
| Variable | Default | Purpose |
|---|---|---|
HF_DATASET_REPO |
hugging-science/request |
Dataset repo holding both feedback.jsonl and requests.jsonl. |
GITHUB_REPO |
georgiachanning/huggingscience-dot-co |
Repo that approved requests open PRs against. |