cati commited on
Commit
0dcb21c
1 Parent(s): 4ca8758
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -4,7 +4,7 @@ import vowel_length
4
 
5
  meta_tsv = ['data/set1.tsv','data/set2.tsv']
6
  ph_key = 'data/key_all.tsv'
7
- align_output = 'data/aligns_csv.pickle'
8
 
9
  dat,vck,kws,csvs = vowel_length.setup(meta_tsv,ph_key,align_output)
10
 
@@ -22,8 +22,8 @@ bl = gr.Blocks()
22
  with bl:
23
 
24
 
25
- #with gr.Tabs():
26
- # with gr.TabItem("One"):
27
  gr.Markdown(
28
  """
29
  # Long and short Icelandic vowels
@@ -57,13 +57,13 @@ with bl:
57
  btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
58
 
59
 
60
- # with gr.TabItem("Two"):
61
- # gr.Markdown(
62
- # """
63
- # # Forced alignment demo with CTC decoding
64
- # Choose a language to record or upload a sentence with text. Generate word or letter time-alignments from the language's wav2vec-2.0 model, with output in MFA (Montreal Forced Aligner)-compatible format.
65
- # """
66
- # )
67
 
68
 
69
 
 
4
 
5
  meta_tsv = ['data/set1.tsv','data/set2.tsv']
6
  ph_key = 'data/key_all.tsv'
7
+ align_output = 'data/align_csv.pickle'
8
 
9
  dat,vck,kws,csvs = vowel_length.setup(meta_tsv,ph_key,align_output)
10
 
 
22
  with bl:
23
 
24
 
25
+ with gr.Tabs():
26
+ with gr.TabItem("One"):
27
  gr.Markdown(
28
  """
29
  # Long and short Icelandic vowels
 
57
  btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
58
 
59
 
60
+ with gr.TabItem("Two"):
61
+ gr.Markdown(
62
+ """
63
+ # Forced alignment demo with CTC decoding
64
+ Choose a language to record or upload a sentence with text. Generate word or letter time-alignments from the language's wav2vec-2.0 model, with output in MFA (Montreal Forced Aligner)-compatible format.
65
+ """
66
+ )
67
 
68
 
69