Download frontend/src/lib/modes.js from kiyer/beacon: direct link, hf CLI and curl.
- Browser
- Download file 652 Bytes
-
https://huggingface.co/spaces/kiyer/beacon/resolve/main/frontend/src/lib/modes.js
- Command line
-
hf download hf://spaces/kiyer/beacon/frontend/src/lib/modes.js
-
curl -L -o modes.js https://huggingface.co/spaces/kiyer/beacon/resolve/main/frontend/src/lib/modes.js
652 Bytes
| // Mode definitions — ported verbatim from prototype/data.js (window.ASTROPARSE_MODES) | |
| export const MODES = [ | |
| { id: 'history', label: 'Historical context', short: 'Hist', glyph: 'H', hue: 70 }, | |
| { id: 'referee', label: 'Referee mode', short: 'Ref', glyph: 'R', hue: 25 }, | |
| { id: 'literature', label: 'From the literature', short: 'Lit', glyph: 'L', hue: 250 }, | |
| { id: 'explainer', label: 'Plain-language', short: 'Plain', glyph: 'P', hue: 150 }, | |
| { id: 'methods', label: 'Methods comparison', short: 'Meth', glyph: 'M', hue: 310 }, | |
| ]; | |
| export const modeById = Object.fromEntries(MODES.map((m) => [m.id, m])); | |