Spaces:
Runtime error
Runtime error
Download src/display/css_html_js.py from stellaathena/math-piqa-backend: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/stellaathena/math-piqa-backend/resolve/main/src/display/css_html_js.py
- Command line
-
hf download hf://spaces/stellaathena/math-piqa-backend/src/display/css_html_js.py
-
curl -L -o css_html_js.py https://huggingface.co/spaces/stellaathena/math-piqa-backend/resolve/main/src/display/css_html_js.py
291 Bytes
| """CSS and JavaScript for the backend UI.""" | |
| dark_mode_gradio_js = """ | |
| function refresh() { | |
| const url = new URL(window.location); | |
| if (url.searchParams.get('__theme') !== 'dark') { | |
| url.searchParams.set('__theme', 'dark'); | |
| window.location.href = url.href; | |
| } | |
| } | |
| """ | |