15 lines
438 B
Bash
Executable File
15 lines
438 B
Bash
Executable File
#!/bin/bash
|
|
# Launch the local voice conversation.
|
|
#
|
|
# Python doesn't trust the corporate TLS proxy out of the box, so point its
|
|
# HTTP clients at the system CA bundle before Hugging Face and Kokoro try to
|
|
# download their models.
|
|
set -euo pipefail
|
|
|
|
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
export SSL_CERT_FILE=/etc/ssl/cert.pem
|
|
export REQUESTS_CA_BUNDLE=/etc/ssl/cert.pem
|
|
|
|
exec "$HERE/.venv/bin/python" "$HERE/bot.py" "$@"
|