Download docs/repin/pdac-spatial-agent.diff from anne-voigt/bcc-ui-theme: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/anne-voigt/bcc-ui-theme/resolve/main/docs/repin/pdac-spatial-agent.diff
- Command line
-
hf download hf://anne-voigt/bcc-ui-theme/docs/repin/pdac-spatial-agent.diff
-
curl -L -o pdac-spatial-agent.diff https://huggingface.co/anne-voigt/bcc-ui-theme/resolve/main/docs/repin/pdac-spatial-agent.diff
1.14 kB
| # pdac-spatial-agent — re-pin diff (NOT APPLIED) | |
| # | |
| # ⚠ Stale mechanics (rechecked 2026-10-15): spatial now compiles requirements.txt | |
| # from requirements.in (python 3.12). Put the bcc-ui-theme line below in | |
| # requirements.in and recompile with the command in requirements.txt's header; | |
| # do not apply the requirements.txt hunk by hand. The gradio_ui.py hunk stands. | |
| # The easiest adoption in the fleet — one Blocks, no existing CSS to reconcile. | |
| --- a/requirements.txt | |
| +++ b/requirements.txt | |
| gradio[oauth]==6.18.0 | |
| + | |
| +# bcc-ui-theme: shared Gradio theme + stylesheet for the fleet. | |
| +# Immutable HF resolve URL, never a git install — HF's git server cannot serve | |
| +# pip's partial clone, so git+https fails on a Space build. | |
| +bcc-ui-theme @ https://huggingface.co/anne-voigt/bcc-ui-theme/resolve/6a43c179b3f5a6ea9dfc9b5447235f31a699977a/bcc_ui_theme-0.1.0-py3-none-any.whl | |
| --- a/gradio_ui.py | |
| +++ b/gradio_ui.py | |
| - demo.launch(mcp_server=True) | |
| + demo.launch(mcp_server=True, theme=theme(), css=CSS) | |
| # plus the import beside the other top-level imports: | |
| +from bcc_ui_theme import CSS, theme | |