Spaces:
Runtime error
Runtime error
Update app.py (#3)
Browse files- Update app.py (a6bd7fac77acb729488f6f5479b9a4cae9c8bd35)
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import pandas as pd
|
2 |
import streamlit as st
|
3 |
from huggingface_hub import HfApi
|
4 |
-
from utils import ascending_metrics, metric_ranges, CV11_LANGUAGES, FLEURS_LANGUAGES
|
5 |
import numpy as np
|
6 |
from st_aggrid import AgGrid, GridOptionsBuilder, JsCode
|
7 |
from os.path import exists
|
@@ -174,7 +174,7 @@ elif dataset == "google/fleurs":
|
|
174 |
visual_configs = [f"{config}: {FLEURS_LANGUAGES[config]}" for config in selectable_configs]
|
175 |
elif dataset == "facebook/multilingual_librispeech":
|
176 |
selectable_configs = [config for config in selectable_configs if config in MLS_LANGUAGES]
|
177 |
-
visual_configs = [f"{config}: {
|
178 |
|
179 |
config = st.sidebar.selectbox(
|
180 |
"Language",
|
|
|
1 |
import pandas as pd
|
2 |
import streamlit as st
|
3 |
from huggingface_hub import HfApi
|
4 |
+
from utils import ascending_metrics, metric_ranges, CV11_LANGUAGES, FLEURS_LANGUAGES, MLS_LANGUAGES
|
5 |
import numpy as np
|
6 |
from st_aggrid import AgGrid, GridOptionsBuilder, JsCode
|
7 |
from os.path import exists
|
|
|
174 |
visual_configs = [f"{config}: {FLEURS_LANGUAGES[config]}" for config in selectable_configs]
|
175 |
elif dataset == "facebook/multilingual_librispeech":
|
176 |
selectable_configs = [config for config in selectable_configs if config in MLS_LANGUAGES]
|
177 |
+
visual_configs = [f"{config}: {MLS_LANGUAGES[config]}" for config in selectable_configs]
|
178 |
|
179 |
config = st.sidebar.selectbox(
|
180 |
"Language",
|