binwang commited on
Commit
8a4a728
·
verified ·
1 Parent(s): 5fb1fd5

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/pages.py +7 -4
app/pages.py CHANGED
@@ -127,19 +127,22 @@ def asr_english():
127
  'TED-LIUM-3-LongForm',
128
  ]
129
 
130
- filters_levelone = sum + dataset_lists
131
 
132
  left, center, _, middle, right = st.columns([0.4, 0.2, 0.2, 0.2 ,0.2])
133
 
134
  with left:
135
- tab_section = st.selectbox('Dataset', filters_levelone)
 
 
136
 
137
  if tab_section:
138
  if tab_section in sum:
139
  sum_table_mulit_metrix('asr_english', ['wer'])
 
140
  else:
141
- dataset_contents(dataset_diaplay_information[tab_section], metrics_info['wer'])
142
- draw_table(tab_section, 'wer')
143
 
144
 
145
 
 
127
  'TED-LIUM-3-LongForm',
128
  ]
129
 
130
+ filters_1_list = sum + dataset_lists
131
 
132
  left, center, _, middle, right = st.columns([0.4, 0.2, 0.2, 0.2 ,0.2])
133
 
134
  with left:
135
+ tab_section = st.selectbox('Dataset', filters_1_list)
136
+ with right:
137
+ metric = st.selectbox('Metric', ['wer'])
138
 
139
  if tab_section:
140
  if tab_section in sum:
141
  sum_table_mulit_metrix('asr_english', ['wer'])
142
+
143
  else:
144
+ dataset_contents(dataset_diaplay_information[tab_section], metrics_info[metric])
145
+ draw_table(tab_section, metric)
146
 
147
 
148