Spaces:
Running
Running
Download index.html from thelamapi/Next-Drive: direct link, hf CLI and curl.
- Browser
- Download file 3.56 kB
-
https://huggingface.co/spaces/thelamapi/Next-Drive/resolve/main/index.html
- Command line
-
hf download hf://spaces/thelamapi/Next-Drive/index.html
-
curl -L -o index.html https://huggingface.co/spaces/thelamapi/Next-Drive/resolve/main/index.html
3.56 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="icon" href="data:,"> | |
| <title>Next Drive</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <main> | |
| <header> | |
| <h1>Next Drive</h1> | |
| <p>A small learned driver crosses a city intersection: traffic lights, people on the crosswalk, a car ahead that slams on the brakes, and parked cars hiding a pedestrian. Pick a scene and a driver; the drive is generated in your browser, decision by decision.</p> | |
| <div class="badges"><span class="badge warn">Simulation and education only · not for real vehicles</span><span class="badge">Live in-browser driving</span><a class="badge" href="https://huggingface.co/thelamapi/Next-Drive">Model repo</a></div> | |
| </header> | |
| <section class="card"> | |
| <div class="row"> | |
| <select id="kind" style="flex:2;min-width:180px" aria-label="scenario"></select> | |
| <select id="density" style="flex:1;min-width:110px" aria-label="traffic density"><option value="1">light traffic</option><option value="2" selected>busy</option><option value="3">very busy (unseen)</option></select> | |
| <select id="driver" style="flex:2;min-width:180px" aria-label="driver"></select> | |
| </div> | |
| <div class="row" style="margin-top:8px"> | |
| <label for="seed" style="margin:0">Scene seed</label><input type="text" id="seed" value="10007" inputmode="numeric" style="width:110px"> | |
| <button id="go">Drive</button><button id="rand" class="ghost">New random scene</button> | |
| <label style="margin:0"><input type="checkbox" id="hidden" checked> show pedestrians the car cannot see (dashed)</label> | |
| </div> | |
| <canvas id="view" style="margin-top:10px"></canvas> | |
| <div class="row" style="margin-top:6px"><button id="play">Play</button> | |
| <select id="speed" style="width:90px" aria-label="playback speed"><option value="0.5">0.5×</option><option value="1" selected>1×</option><option value="2">2×</option><option value="4">4×</option></select> | |
| <input type="range" id="scrub" min="0" max="10" value="0" style="flex:1;min-width:120px" aria-label="time"></div> | |
| <div id="outcome" style="margin-top:10px"></div> | |
| <h3>Critical events (tap to jump)</h3><div id="events" class="chips"></div> | |
| </section> | |
| <div class="grid" style="margin-top:12px"> | |
| <section class="card"><h2>Same scene, every driver</h2><div class="scroll"><table id="cmp"></table></div></section> | |
| <section class="card"><h2>Benchmark on unseen scenes</h2><div class="scroll"><table id="bench"></table></div><p class="small muted" id="benchnote"></p></section> | |
| </div> | |
| <section class="card" style="margin-top:12px"> | |
| <h2>Failure replays from the benchmark</h2> | |
| <p class="small muted">Every recorded failure of the learned drivers can be replayed here; the simulator is deterministic.</p> | |
| <div id="fails" class="chips"></div> | |
| </section> | |
| <section class="card" style="margin-top:12px"> | |
| <h2>Recorded replay</h2> | |
| <video src="replay.mp4" controls muted playsinline poster="preview.png"></video> | |
| </section> | |
| <p class="status" id="status"></p> | |
| <footer>Next Drive is a 2-D training and education simulation. It controls only speed along a fixed route, perceives the world perfectly except for line-of-sight occlusion, and has never been tested on a vehicle. It makes no claim about real-road safety.</footer> | |
| </main> | |
| <script src="nlrt.js"></script> | |
| <script src="nlui.js"></script> | |
| <script src="core.js"></script> | |
| <script src="app.js"></script> | |
| </body> | |
| </html> | |