clr commited on
Commit
5bd7d1d
·
1 Parent(s): c81d6d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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