improved pdfcreator

1- use CLI
2- refactor code
This commit is contained in:
local
2026-01-19 23:06:56 +00:00
parent 6c4b78f274
commit a5934e45b2
8 changed files with 810 additions and 113 deletions

6
python/pdfcreator/terminal.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
export CT2_CUDA_ALLOW_FP16=1
# 'mamba run' executes the command within the context of the environment
# without needing to source .bashrc or shell hooks manually.
mamba run -n base python ~/family-repo/Code/python/pdfcreator/driver.py "$@"