Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5 |
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="stt_rw_conformer_ctc_large")
|
6 |
df = pd.read_csv("amasaku_data.tsv",sep='\t')
|
7 |
print(df)
|
8 |
-
amasaku_mapping = {key.lower():val.lower() for key,val in zip(df.iloc[:,0],df.iloc[:,1])}
|
9 |
|
10 |
def transcribe(file):
|
11 |
|
|
|
5 |
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="stt_rw_conformer_ctc_large")
|
6 |
df = pd.read_csv("amasaku_data.tsv",sep='\t')
|
7 |
print(df)
|
8 |
+
amasaku_mapping = {str(key).lower():str(val).lower() for key,val in zip(df.iloc[:,0],df.iloc[:,1])}
|
9 |
|
10 |
def transcribe(file):
|
11 |
|