Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download frontend/src/main.jsx from fr-gouv-coordination-ia/llm_leaderboard_fr: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/spaces/fr-gouv-coordination-ia/llm_leaderboard_fr/resolve/e2dd0d8a818d68859b4ee84baaa27175b111dafa/frontend/src/main.jsx
- Command line
-
hf download hf://spaces/fr-gouv-coordination-ia/llm_leaderboard_fr@e2dd0d8a818d68859b4ee84baaa27175b111dafa/frontend/src/main.jsx
-
curl -L -o main.jsx https://huggingface.co/spaces/fr-gouv-coordination-ia/llm_leaderboard_fr/resolve/e2dd0d8a818d68859b4ee84baaa27175b111dafa/frontend/src/main.jsx
474 Bytes
| import { StrictMode } from 'react' | |
| import { createRoot } from 'react-dom/client' | |
| import './index.css' | |
| import App from './App.jsx' | |
| import { useLang } from "i18n"; | |
| import { startReactDsfr } from "@codegouvfr/react-dsfr/spa"; | |
| startReactDsfr({ | |
| defaultColorScheme: "system", | |
| useLang: function useLangDsfr() { | |
| const { lang } = useLang(); | |
| return lang; | |
| } | |
| }); | |
| createRoot(document.getElementById('root')).render( | |
| <StrictMode> | |
| <App /> | |
| </StrictMode>, | |
| ) | |