Download frontend/src/publicDemo.mjs from Wizzas/DefectRAG: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/Wizzas/DefectRAG/resolve/main/frontend/src/publicDemo.mjs
- Command line
-
hf download hf://Wizzas/DefectRAG/frontend/src/publicDemo.mjs
-
curl -L -o publicDemo.mjs https://huggingface.co/Wizzas/DefectRAG/resolve/main/frontend/src/publicDemo.mjs
263 Bytes
| // Visibility only; native authorization and per-browser backend isolation still apply. | |
| export function publicDemoAvailable(health,access){ | |
| return Boolean((health?.mode==='cloud_session_workspace'||health?.local_sync_enabled===true)&&access?.state==='guest'); | |
| } | |