Spaces:
Build error
Build error
Download headroom/dashboard/__init__.py from minhtudragon/headroom_3: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/d90c6b834ce2b6ee7e8ad5f3a225df69a52f1440/headroom/dashboard/__init__.py
- Command line
-
hf download hf://spaces/minhtudragon/headroom_3@d90c6b834ce2b6ee7e8ad5f3a225df69a52f1440/headroom/dashboard/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/d90c6b834ce2b6ee7e8ad5f3a225df69a52f1440/headroom/dashboard/__init__.py
336 Bytes
| """Headroom Dashboard - Real-time proxy monitoring UI.""" | |
| from pathlib import Path | |
| DASHBOARD_DIR = Path(__file__).parent | |
| TEMPLATES_DIR = DASHBOARD_DIR / "templates" | |
| def get_dashboard_html() -> str: | |
| """Load the dashboard HTML template.""" | |
| template_path = TEMPLATES_DIR / "dashboard.html" | |
| return template_path.read_text() | |