Spaces:
Runtime error
Runtime error
spookyspaghetti
commited on
Commit
•
82e9b6b
1
Parent(s):
0432ec8
Update app.py
Browse files
app.py
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
|
2 |
-
|
3 |
## Install dependencies
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
|
9 |
## Install NeMo
|
10 |
BRANCH = 'r1.13.0'
|
11 |
-
|
12 |
|
13 |
## Grab the config we'll use in this example
|
14 |
-
|
15 |
-
|
16 |
|
17 |
-
|
18 |
-
|
19 |
|
20 |
import gradio as gr
|
21 |
import time
|
|
|
1 |
+
pip install -U git+https://github.com/PrithivirajDamodaran/Gramformer.git
|
2 |
+
pip install gradio -q
|
3 |
## Install dependencies
|
4 |
+
pip install wget
|
5 |
+
apt-get install sox libsndfile1 ffmpeg
|
6 |
+
pip install text-unidecode
|
7 |
+
pip install matplotlib>=3.3.2
|
8 |
|
9 |
## Install NeMo
|
10 |
BRANCH = 'r1.13.0'
|
11 |
+
python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]
|
12 |
|
13 |
## Grab the config we'll use in this example
|
14 |
+
mkdir configs
|
15 |
+
wget -P configs/ https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/examples/asr/conf/config.yaml
|
16 |
|
17 |
+
python -m spacy download en_core_web_md
|
18 |
+
python -m spacy link en_core_web_md en
|
19 |
|
20 |
import gradio as gr
|
21 |
import time
|