q275343119's picture
feat - Optimization
a5cef14
Raw
History Blame
347 Bytes
import sys
from pathlib import Path
# Ensure src-layout package is importable in Hugging Face Spaces runtime.
ROOT_DIR = Path(__file__).resolve().parent
SRC_DIR = ROOT_DIR / "src"
if str(SRC_DIR) not in sys.path:
sys.path.insert(0, str(SRC_DIR))
from leaderboard_analytics.main import run # noqa: E402
if __name__ == "__main__":
run()