frames / app.py
cheenchan's picture
Load package from workspace without editable install
d564157
raw
history blame contribute delete
286 Bytes
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent
SRC_PATH = ROOT / "frame_extraction" / "src"
if SRC_PATH.exists():
sys.path.append(str(SRC_PATH))
from frame_extraction.app import main # type: ignore # noqa: E402
if __name__ == "__main__":
main()