Spaces:
Sleeping
Sleeping
Cyprien
Claude Opus 5 (1M context)
Model and revision pickers, test-set evaluation tab, app/ package
759bf41 Download app/cmd_enter.js from CallAuto/breakdown-risk-demo: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/spaces/CallAuto/breakdown-risk-demo/resolve/main/app/cmd_enter.js
- Command line
-
hf download hf://spaces/CallAuto/breakdown-risk-demo/app/cmd_enter.js
-
curl -L -o cmd_enter.js https://huggingface.co/spaces/CallAuto/breakdown-risk-demo/resolve/main/app/cmd_enter.js
329 Bytes
| () => { | |
| document.addEventListener('keydown', (event) => { | |
| if (event.key !== 'Enter' || !(event.metaKey || event.ctrlKey)) return; | |
| const button = document.querySelector('#run-classify button, button#run-classify'); | |
| if (!button) return; | |
| event.preventDefault(); | |
| button.click(); | |
| }); | |
| } | |