Rename video2game -> GameAnything in repo references
Browse files13 unmodified lines1415161718192013 unmodified lines---Page where players propose GameAnything-Bench challenges: background questions, a game picker, one form, checks in the browser.A submission is a pull request on the private dataset `video2game/gameanything-submissions` (`submissions/<id>.json` plus`refs/<id>/NN.ext`); merge to accept, close to decline. `data.json` sets `submit_url` to the Cloudflare Worker(`gameanything-trial-api`, `/bench/prepare` + `/bench/commit`), so players need no account: the Worker checks the form, the pageuploads files straight to Hugging Face storage, and the Worker opens the pull request. With `submit_url` empty the page falls back13 unmodified lines1415161718192013 unmodified lines---Page where players propose GameAnything-Bench challenges: background questions, a game picker, one form, checks in the browser.A submission is a pull request on the private dataset `GameAnything/gameanything-submissions` (`submissions/<id>.json` plus`refs/<id>/NN.ext`); merge to accept, close to decline. `data.json` sets `submit_url` to the Cloudflare Worker(`gameanything-trial-api`, `/bench/prepare` + `/bench/commit`), so players need no account: the Worker checks the form, the pageuploads files straight to Hugging Face storage, and the Worker opens the pull request. With `submit_url` empty the page falls back
4 unmodified lines5678910112 unmodified lines14151617181920214 unmodified lines// with Hugging Face and the page opens the pull request with their own token (works for organisation members only).import {oauthLoginUrl, oauthHandleRedirectIfPresent, uploadFiles} from "https://cdn.jsdelivr.net/npm/@huggingface/hub@0.18.2/+esm";const REPO = {type: "dataset", name: "video2game/gameanything-submissions"};const $ = (s, el = document) => el.querySelector(s), $$ = (s, el = document) => [...el.querySelectorAll(s)];const esc = s => String(s).replace(/[&<>"]/g, c => ({"&": "&", "<": "<", ">": ">", '"': """}[c]));const LOCAL = { // texts only this page needs2 unmodified linessigned: ["Signed in as", "已登录:"],need_signin: ["Please sign in with Hugging Face first (above the form). What you typed is kept.", "请先用 Hugging Face 登录(在表单上方)。已填的内容会保留。"],sending: ["Submitting…", "正在提交……"],no_access: ["Your account cannot write to the submissions repository yet. Ask a maintainer for access to the video2game organisation.","你的账号还没有提交仓库的写权限,请联系维护者加入 video2game 组织。"],drop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],4 unmodified lines5678910112 unmodified lines14151617181920214 unmodified lines// with Hugging Face and the page opens the pull request with their own token (works for organisation members only).import {oauthLoginUrl, oauthHandleRedirectIfPresent, uploadFiles} from "https://cdn.jsdelivr.net/npm/@huggingface/hub@0.18.2/+esm";const REPO = {type: "dataset", name: "GameAnything/gameanything-submissions"};const $ = (s, el = document) => el.querySelector(s), $$ = (s, el = document) => [...el.querySelectorAll(s)];const esc = s => String(s).replace(/[&<>"]/g, c => ({"&": "&", "<": "<", ">": ">", '"': """}[c]));const LOCAL = { // texts only this page needs2 unmodified linessigned: ["Signed in as", "已登录:"],need_signin: ["Please sign in with Hugging Face first (above the form). What you typed is kept.", "请先用 Hugging Face 登录(在表单上方)。已填的内容会保留。"],sending: ["Submitting…", "正在提交……"],no_access: ["Your account cannot write to the submissions repository yet. Ask a maintainer for access to the GameAnything organisation.","你的账号还没有提交仓库的写权限,请联系维护者加入 GameAnything 组织。"],drop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],
1234/* Same look as the project home page (video2game/GameAnything): white ground, violet and indigo from the paper's figures,serif headlines with a pixel-face accent, cards whose headers are solid gradient bars. Light only, like the home page.The web fonts are optional: every stack falls back to system faces (Google Fonts is slow or blocked in mainland China). */:root {1234/* Same look as the project home page (GameAnything/GameAnything): white ground, violet and indigo from the paper's figures,serif headlines with a pixel-face accent, cards whose headers are solid gradient bars. Light only, like the home page.The web fonts are optional: every stack falls back to system faces (Google Fonts is slow or blocked in mainland China). */:root {
README.md+1-1
app.js+3-3
style.css+1-1