Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def f1(langname,lang_aligner):
|
|
70 |
ds = ds.select([random.randint(maxdat-1)])
|
71 |
#print([th for th in ds.sample()])
|
72 |
sound_path = ds['audio'][0]['path'] # audio 0 array is the audio data itself
|
73 |
-
transcript = ds['normalized_text']
|
74 |
|
75 |
return graph.align_and_graph(sound_path,transcript,lang_aligner)
|
76 |
|
|
|
70 |
ds = ds.select([random.randint(maxdat-1)])
|
71 |
#print([th for th in ds.sample()])
|
72 |
sound_path = ds['audio'][0]['path'] # audio 0 array is the audio data itself
|
73 |
+
transcript = ds['normalized_text'][0]
|
74 |
|
75 |
return graph.align_and_graph(sound_path,transcript,lang_aligner)
|
76 |
|