Download scripts/run_server.sh from AXERA-TECH/Voice_Assistant.AXERA: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/AXERA-TECH/Voice_Assistant.AXERA/resolve/main/scripts/run_server.sh
- Command line
-
hf download hf://AXERA-TECH/Voice_Assistant.AXERA/scripts/run_server.sh
-
curl -L -o run_server.sh https://huggingface.co/AXERA-TECH/Voice_Assistant.AXERA/resolve/main/scripts/run_server.sh
401 Bytes
| set -e | |
| cd "$(dirname "$0")/.." | |
| # Default to HTTPS so remote browsers can access the microphone. | |
| # The first run auto-generates key.pem / cert.pem via openssl. | |
| HOST="${1:-$(hostname -I 2>/dev/null | awk '{print $1}')}" | |
| HOST="${HOST:-0.0.0.0}" | |
| echo "Starting HTTPS server at https://${HOST}:8008" | |
| python3 app.py --config config/board_config.yaml --host "${HOST}" --port 8008 --ssl | |