File size: 401 Bytes
5652fe3
dcdaf35
 
5652fe3
 
 
dcdaf35
 
5652fe3
dcdaf35
 
bbc6d94
dcdaf35
 
 
 
5652fe3
dcdaf35
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
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__")