12 lines
313 B
Bash
Executable File
12 lines
313 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
trainer_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
if ! command -v python3 >/dev/null 2>&1; then
|
|
echo "Python 3.11 or newer is required. Install it, then run this file again." >&2
|
|
exit 1
|
|
fi
|
|
|
|
exec python3 "$trainer_root/scripts/jrich-wakeword-trainer" "$@"
|