run_ui.py 357 B

12345678910111213141516171819
  1. #!/usr/bin/env python3
  2. """
  3. Launcher for BMAD Novel Translator UI.
  4. Run this script to start the graphical user interface.
  5. """
  6. import sys
  7. from pathlib import Path
  8. # Add src directory to Python path
  9. src_path = Path(__file__).parent / "src"
  10. sys.path.insert(0, str(src_path))
  11. from ui.application import main
  12. if __name__ == "__main__":
  13. sys.exit(main())