Spaces:
Running
Running
Download scripts/export_monitoring_metrics.py from noqt/eggcracker: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/noqt/eggcracker/resolve/main/scripts/export_monitoring_metrics.py
- Command line
-
hf download hf://spaces/noqt/eggcracker/scripts/export_monitoring_metrics.py
-
curl -L -o export_monitoring_metrics.py https://huggingface.co/spaces/noqt/eggcracker/resolve/main/scripts/export_monitoring_metrics.py
378 Bytes
| """Export read-only Lumi Eggcracker health to an explicitly owned textfile.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(ROOT / "src")) | |
| def run() -> int: | |
| from lumi_eggcracker.monitoring import main | |
| return main() | |
| if __name__ == "__main__": | |
| raise SystemExit(run()) | |