Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,28 +12,9 @@ import spaces
|
|
12 |
import nemo.collections.asr as nemo_asr
|
13 |
|
14 |
LANGUAGE_NAME_TO_CODE = {
|
15 |
-
|
16 |
-
"Bengali": "bn",
|
17 |
-
"Bodo": "br",
|
18 |
-
"Dogri": "doi",
|
19 |
-
"Gujarati": "gu",
|
20 |
"Hindi": "hi",
|
21 |
-
|
22 |
-
"Kashmiri": "ks",
|
23 |
-
"Konkani": "kok",
|
24 |
-
"Maithili": "mai",
|
25 |
-
"Malayalam": "ml",
|
26 |
-
"Manipuri": "mni",
|
27 |
-
"Marathi": "mr",
|
28 |
-
"Nepali": "ne",
|
29 |
-
"Odia": "or",
|
30 |
-
"Punjabi": "pa",
|
31 |
-
"Sanskrit": "sa",
|
32 |
-
"Santali": "sat",
|
33 |
-
"Sindhi": "sd",
|
34 |
-
"Tamil": "ta",
|
35 |
-
"Telugu": "te",
|
36 |
-
"Urdu": "ur"
|
37 |
}
|
38 |
|
39 |
|
@@ -43,7 +24,7 @@ DESCRIPTION = """\
|
|
43 |
**IndicConformer**, a speech recognition model for **22 Indian languages**. The model operates in two modes: **CTC (Connectionist Temporal Classification)** and **RNNT (Recurrent Neural Network Transducer)**
|
44 |
|
45 |
#### **How to Use:**
|
46 |
-
1. **Upload or record** an audio clip in
|
47 |
2. Select the **mode** (CTC or RNNT) for transcription.
|
48 |
3. Click **"Transcribe"** to generate the corresponding text.
|
49 |
|
|
|
12 |
import nemo.collections.asr as nemo_asr
|
13 |
|
14 |
LANGUAGE_NAME_TO_CODE = {
|
15 |
+
|
|
|
|
|
|
|
|
|
16 |
"Hindi": "hi",
|
17 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
|
|
|
24 |
**IndicConformer**, a speech recognition model for **22 Indian languages**. The model operates in two modes: **CTC (Connectionist Temporal Classification)** and **RNNT (Recurrent Neural Network Transducer)**
|
25 |
|
26 |
#### **How to Use:**
|
27 |
+
1. **Upload or record** an audio clip in Hindi.
|
28 |
2. Select the **mode** (CTC or RNNT) for transcription.
|
29 |
3. Click **"Transcribe"** to generate the corresponding text.
|
30 |
|