Subtext is an easy to use subtitling app, which allows an user to utilise AI models to generate subtitles entirely on device.
-
Install dependencies and start app using using
uv run start_app.py -
There are some flags which are useful for development
- The recommended way to enable these flags is to
- Set
env = "DEVELOPMENT"in theconfig.pyfile - Write the overrides into an
.env.developmentfile in thebackendfolder.
- Set
- The recommended way to enable these flags is to
Note: .env.development overrides will NOT be respected unless env=DEVELOPMENT
- The backend has a signature check for model code.
- To disable this check, set
allowUnsignedCode=true - To sign model code, utilise the script
.\build_tools\build_generate_signatures.py
- To disable this check, set
- Install Dependencies using
npm install - Run app using
npm run dev
Argument Documentation
buildFrontendApp.ps1-SkipBuild: Skips the building of frontend
bundleApp.ps1WithCuda: Install with cuda supportSkipDependencies: Skip dependency installation stepSkipFrontend: Skip frontend build stepSkipBackendBuild: Skip Backend build stepSkipPortable: Skip portable app build stepSkipInstaller: Skip installer build stepForce: Force script to continue execution even if a step errors outHardCodedPythonPath: Make script use a hard-coded Python path for a Github Self-hosted RunnerHardCoded7ZipPath: Make script use a hard-coded 7zip path for a Github Self-hosted RunnerHardCodedInnoPath: Make script use a hard-coded InnoSetup path for a Github Self-hosted Runner