Spaces:
Sleeping
Sleeping
| set -e | |
| echo "Installing system deps for KenLM..." | |
| apt-get update && apt-get install -y build-essential cmake libbz2-dev liblzma-dev zlib1g-dev | |
| echo "Installing kenlm from GitHub (may take a while)..." | |
| pip install --no-cache-dir https://github.com/kpu/kenlm/archive/master.zip | |
| echo "Installing pyctcdecode with kenlm support..." | |
| pip install --no-cache-dir pyctcdecode[kenlm] | |
| echo "Done start.sh" |