Spaces:
Running
Running
Commit History
-
Add tabbed Demo / Model / Sandbox page (default = Sandbox)
New /demo route serves a single-page app with three tabs: - Demo: 4 interactive sections (gene completion, VEP, likelihood track, cross-species) plus folding/UMAP placeholders - Model: tokenizer, training objective (CE→FNS), data, architecture - Sandbox: the existing DNA continuation playground (default tab) Server-side: new /score endpoint (echo-logprobs), /genes /variants /species data routes, /img static mount, and left-padding for prompts that aren't a multiple of 6 bases (avoids phantom-A artifacts at the prompt boundary). Includes data fetchers (Ensembl REST) for genes / variants / species and a precompute script that bakes per-token logprobs and ref-vs-alt window scores into the JSON files so the page renders instantly without round-tripping the inference endpoint on first paint. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>971b586