Spaces:
Sleeping
Sleeping
File size: 354 Bytes
fe78e91 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
"""Spaces launch file """
import os
import sys
# TODO: Remove hacky import fixes and change of work dir. by moving to
# relative imports and fixing data paths
app_dir = os.path.join(os.path.dirname(__file__), "src")
sys.path.append(app_dir)
if __name__ == "__main__":
from src import controller
os.chdir(app_dir)
controller.app_launch()
|