| """ | |
| Root entry point for HuggingFace Spaces deployment. | |
| Delegates to visualization/app.py without modifying any underlying code. | |
| """ | |
| import sys | |
| import os | |
| import runpy | |
| _here = os.path.dirname(os.path.abspath(__file__)) | |
| _viz = os.path.join(_here, "visualization") | |
| if _viz not in sys.path: | |
| sys.path.insert(0, _viz) | |
| os.chdir(_viz) | |
| runpy.run_path(os.path.join(_viz, "app.py"), run_name="__main__") |