Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -12,12 +12,23 @@ st.set_page_config(
|
|
| 12 |
page_title="Leaderboard", page_icon=":chart_with_upwards_trend:", layout="wide"
|
| 13 |
)
|
| 14 |
|
| 15 |
-
st.header("AudioBench Leaderboard")
|
| 16 |
st.markdown('<style>' + open('./style/sidebar_style.css').read() + '</style>', unsafe_allow_html=True)
|
| 17 |
|
| 18 |
with st.sidebar:
|
| 19 |
-
tabs = on_hover_tabs(tabName=['Dashboard',
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
styles = {
|
| 22 |
'navtab': {
|
| 23 |
'font-size': '12px',
|
|
@@ -34,11 +45,32 @@ with st.sidebar:
|
|
| 34 |
if tabs =='Dashboard':
|
| 35 |
dashboard()
|
| 36 |
|
| 37 |
-
elif tabs == 'Speech
|
| 38 |
-
|
| 39 |
|
| 40 |
-
elif tabs == '
|
| 41 |
-
|
| 42 |
|
| 43 |
-
elif tabs == '
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
page_title="Leaderboard", page_icon=":chart_with_upwards_trend:", layout="wide"
|
| 13 |
)
|
| 14 |
|
| 15 |
+
# st.header("AudioBench Leaderboard")
|
| 16 |
st.markdown('<style>' + open('./style/sidebar_style.css').read() + '</style>', unsafe_allow_html=True)
|
| 17 |
|
| 18 |
with st.sidebar:
|
| 19 |
+
tabs = on_hover_tabs(tabName=['Dashboard',
|
| 20 |
+
'Automatic Speech Recognition',
|
| 21 |
+
'Chinese Automatic Speech Recognition',
|
| 22 |
+
'Speech Question Answering',
|
| 23 |
+
'Speech Instruction',
|
| 24 |
+
'Audio Captioning',
|
| 25 |
+
'Audio Scene Question Answering',
|
| 26 |
+
'Accent Recognition',
|
| 27 |
+
'Gender Recognition',
|
| 28 |
+
'Emotion Recognition',
|
| 29 |
+
'Speech Translation'],
|
| 30 |
+
iconName=['dashboard', 'filter_1', 'filter_2', 'filter_3', 'filter_4', 'filter_5',
|
| 31 |
+
'filter_6', 'filter_7', 'filter_8', 'filter_9', 'filter_10'],
|
| 32 |
styles = {
|
| 33 |
'navtab': {
|
| 34 |
'font-size': '12px',
|
|
|
|
| 45 |
if tabs =='Dashboard':
|
| 46 |
dashboard()
|
| 47 |
|
| 48 |
+
elif tabs == 'Automatic Speech Recognition':
|
| 49 |
+
asr()
|
| 50 |
|
| 51 |
+
elif tabs == 'Chinese Automatic Speech Recognition':
|
| 52 |
+
cnasr()
|
| 53 |
|
| 54 |
+
elif tabs == 'Speech Question Answering':
|
| 55 |
+
sqa()
|
| 56 |
+
|
| 57 |
+
elif tabs == 'Speech Instruction':
|
| 58 |
+
si()
|
| 59 |
+
|
| 60 |
+
elif tabs == 'Audio Captioning':
|
| 61 |
+
ac()
|
| 62 |
+
|
| 63 |
+
elif tabs == 'Audio Scene Question Answering':
|
| 64 |
+
asqa()
|
| 65 |
+
|
| 66 |
+
elif tabs == 'Accent Recognition':
|
| 67 |
+
ar()
|
| 68 |
+
|
| 69 |
+
elif tabs == 'Gender Recognition':
|
| 70 |
+
gr()
|
| 71 |
+
|
| 72 |
+
elif tabs == 'Emotion Recognition':
|
| 73 |
+
er()
|
| 74 |
+
|
| 75 |
+
elif tabs == 'Speech Translation':
|
| 76 |
+
st()
|