CoolFace
Apppublic

thinkingEverytime/QuantOracle

sourceHugging Faceupdated 6mo agoView on Hugging Face
1likes
streamlit_app.py21 linesDownload Raw Back to root
1"""Streamlit Cloud entrypoint.2 3Streamlit Cloud defaults to `streamlit_app.py` at repo root. Keep this file tiny and4delegate to the real app in `frontend/app.py`.5"""6 7from __future__ import annotations8 9import runpy10import sys11from pathlib import Path12 13ROOT = Path(__file__).resolve().parent14FRONTEND = ROOT / "frontend"15for p in (ROOT, FRONTEND):16    sp = str(p)17    if sp not in sys.path:18        sys.path.insert(0, sp)19 20runpy.run_path(str(ROOT / "frontend" / "app.py"), run_name="__main__")21