ASR_Gradio / start.sh
IbnAoudi's picture
Upload 4 files
73d1bf6 verified
raw
history blame contribute delete
418 Bytes
#!/usr/bin/env bash
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"