clr commited on
Commit
98178bd
·
1 Parent(s): 803066e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -62,14 +62,13 @@ def f1(langname,lang_aligner):
62
  plt.xlabel("Vowel length (ms)")
63
  plt.ylabel("Consonant length (ms)")
64
 
65
- return(fig)
66
-
67
  ds = df.sample()
68
  #print([th for th in ds.sample()])
69
  print(ds['audio'])
70
  print(ds['normalized_text'])
71
 
72
  #return graph.align_and_graph(wav_path, transcript,lang_aligner)
 
73
 
74
 
75
  bl = gr.Blocks()
@@ -104,21 +103,18 @@ with bl:
104
  # ABOUT
105
  This is a work-in-progress demo.
106
 
107
- Icelandic uses the [samromur-asr](https://huggingface.co/datasets/language-and-voice-lab/samromur_asr) corpus
108
- and Faroese uses [ravnursson-asr](https://huggingface.co/datasets/carlosdanielhernandezmena/ravnursson_asr).
109
 
110
  After you select a language, a few example sentences from the corpus are displayed.
111
 
112
- Click the button to view time-aligned prosody information for a random sentence -
113
- this could be any sentence, not only one of the ones shown above.
114
 
115
- ABOUT REAPER
116
 
117
- ABOUT RMSE
118
 
119
- ABOUT CTC ALIGNMENT
120
 
121
- CONTACT INFO ETC
122
  [email protected] / https://github.com/catiR/
123
  """
124
  )
 
62
  plt.xlabel("Vowel length (ms)")
63
  plt.ylabel("Consonant length (ms)")
64
 
 
 
65
  ds = df.sample()
66
  #print([th for th in ds.sample()])
67
  print(ds['audio'])
68
  print(ds['normalized_text'])
69
 
70
  #return graph.align_and_graph(wav_path, transcript,lang_aligner)
71
+ return(fig)
72
 
73
 
74
  bl = gr.Blocks()
 
103
  # ABOUT
104
  This is a work-in-progress demo.
105
 
106
+ Icelandic uses the [samromur-asr](https://huggingface.co/datasets/language-and-voice-lab/samromur_asr) corpus, and Faroese uses [ravnursson-asr](https://huggingface.co/datasets/carlosdanielhernandezmena/ravnursson_asr).
 
107
 
108
  After you select a language, a few example sentences from the corpus are displayed.
109
 
110
+ Click the button to view time-aligned prosody information for a random sentence - this could be any sentence, not only one of the ones shown above.
 
111
 
112
+ [ABOUT REAPER PITCH TRACKING - TODO]
113
 
114
+ [ABOUT RMSE INTENSITY - TODO]
115
 
116
+ [ABOUT CTC ALIGNMENT - TODO]
117
 
 
118
  [email protected] / https://github.com/catiR/
119
  """
120
  )