File size: 811 Bytes
6a86825
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0848e63
 
5688386
0848e63
884f6c3
0848e63
5688386
0848e63
df212d7
5688386
0848e63
 
 
 
5688386
0848e63
5688386
0848e63
 
5688386
0848e63
 
5688386
0848e63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash

# Update and install system dependencies
apt-get update && apt-get install -y \
    libgirepository1.0-dev \
    libcairo2-dev \
    libdbus-1-dev \
    pkg-config \
    python3-dev \
    python3-gi \
    libsndfile1-dev \
    ffmpeg

# Upgrade pip
pip install --upgrade pip


# Install the custom version of NeMo by AI4Bharat
wget https://indic-asr-public.objectstore.e2enetworks.net/ai4b_nemo.zip

unzip -q /content/ai4b_nemo.zip && cd NeMo
pip install -e .
bash reinstall.sh

cd ..
echo "NEMO INSTALLED SUCESSFULLY"

git clone -q https://github.com/VarunGumma/IndicTransTokenizer
cd IndicTransTokenizer
pip install -q --editable ./
cd ..

apt-get install libsndfile1-dev ffmpeg

git clone https://github.com/gokulkarthik/TTS
cd TTS

pip3 install -e .[all]
pip3 install -r requirements.txt

cd ..