bcc-ui-theme / docs /repin /pdac-spatial-agent.diff
Annie Voigt
Claude Opus 5.5
docs: 0.1.0 released at 6a43c17 — real pin line in every repin diff; genomics applied on dev
6e4f0da
Raw History Blame Contribute Delete
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
@@ -6,6 +6,11 @@
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
@@ -374,1 +374,1 @@
- 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