Upload folder using huggingface_hub
Browse files- app/pages.py +7 -4
app/pages.py
CHANGED
|
@@ -127,19 +127,22 @@ def asr_english():
|
|
| 127 |
'TED-LIUM-3-LongForm',
|
| 128 |
]
|
| 129 |
|
| 130 |
-
|
| 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',
|
|
|
|
|
|
|
| 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[
|
| 142 |
-
draw_table(tab_section,
|
| 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 |
|