Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def setup():
|
|
| 33 |
|
| 34 |
|
| 35 |
#print('about to setup')
|
| 36 |
-
|
| 37 |
|
| 38 |
def load_lang(langname):
|
| 39 |
if langname=="Icelandic":
|
|
@@ -71,7 +71,7 @@ def f1(langname,lang_aligner):
|
|
| 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 |
-
print('PLACE A:',lang_aligner)
|
| 75 |
return graph.align_and_graph(sound_path,transcript,lang_aligner)
|
| 76 |
|
| 77 |
|
|
|
|
| 33 |
|
| 34 |
|
| 35 |
#print('about to setup')
|
| 36 |
+
setup()
|
| 37 |
|
| 38 |
def load_lang(langname):
|
| 39 |
if langname=="Icelandic":
|
|
|
|
| 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 |
+
#print('PLACE A:',lang_aligner)
|
| 75 |
return graph.align_and_graph(sound_path,transcript,lang_aligner)
|
| 76 |
|
| 77 |
|