binwang commited on
Commit
0f8ffcf
·
verified ·
1 Parent(s): 1c954ce

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/pages.py +25 -0
app/pages.py CHANGED
@@ -176,6 +176,31 @@ def asr_singlish():
176
  draw_table(tab_section, metric)
177
 
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
 
180
 
181
  def asr_mandarin():
 
176
  draw_table(tab_section, metric)
177
 
178
 
179
+ def asr_sea():
180
+ st.title("Task: Automatic Speech Recognition - SEA Region")
181
+
182
+ sum = ['Overall']
183
+ dataset_list = [
184
+ 'gigaspeech2_indo',
185
+ 'gigaspeech2_thai',
186
+ 'gigaspeech2_viet',
187
+ ]
188
+ filters_1_list = sum + dataset_list
189
+
190
+ space1, space2, _, _ = st.columns([0.4, 0.4, 0.2 ,0.2])
191
+
192
+ with space1:
193
+ tab_section = st.selectbox('Dataset', filters_1_list)
194
+ with space2:
195
+ metric = st.selectbox('Metric', ['WER'])
196
+ metric = metric.lower()
197
+
198
+ if tab_section:
199
+ if tab_section in sum:
200
+ sum_table_mulit_metrix(dataset_list, metric)
201
+ else:
202
+ dataset_contents(dataset_diaplay_information[tab_section], metrics_info[metric])
203
+ draw_table(tab_section, metric)
204
 
205
 
206
  def asr_mandarin():