-
Notifications
You must be signed in to change notification settings - Fork 87
Manual Installation and Builds
You need to have python >=3.10
If you need help with installing that, look at these resources:
https://www.python.org/downloads/release/python-31011/
Setup a virtual environment
python -m venv venv
Activate the virtual environment
.\venv\Scripts\activate
Install aTrain
pip install aTrain@git+https://github.com/JuergenFleiss/aTrain.git --extra-index-url https://download.pytorch.org/whl/cu128
Download all required models from Whisper and pyannote.audio with a console script:
aTrain init
Run the app with the console script
aTrain start
We use pyinstaller to freeze the code of aTrain and create a standalone executable.
If you want to create your own code package follow these steps:
Clone and install aTrain in editable mode
git clone https://github.com/JuergenFleiss/aTrain.git
cd aTrain
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu128
Download ffmpeg and all required models from Whisper and pyannote.audio with a console script
aTrain init
Install pyinstaller
pip install pyinstaller
Build the executable using the provided instruction in the file "build.spec"
pyinstaller freeze.spec
Congratulations! You just built a standalone executable for aTrain.
To open this version of aTrain just go to the output folder (./dist/aTrain) and open the executable (e.g. aTrain.exe for Windows).
If you want to go a step further and create an MSIX-installer for aTrain you can use Advanced Installer Express.
For information on how to use Advanced Installer Express refer to their documentation.