15 lines
336 B
Python
15 lines
336 B
Python
"""GPU environment runner used by the root unified launcher."""
|
|
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
|
if str(PROJECT_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(PROJECT_ROOT))
|
|
|
|
from ocr_app.cli import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main(device="gpu"))
|