Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -16,8 +16,7 @@ st.markdown('<style>' + open('./style/sidebar_style.css').read() + '</style>', u
|
|
16 |
|
17 |
with st.sidebar:
|
18 |
tabs = on_hover_tabs(tabName=['Dashboard',
|
19 |
-
'
|
20 |
-
'Chinese Automatic Speech Recognition',
|
21 |
'Speech Question Answering',
|
22 |
'Speech Instruction',
|
23 |
'Audio Captioning',
|
@@ -25,16 +24,20 @@ with st.sidebar:
|
|
25 |
'Accent Recognition',
|
26 |
'Gender Recognition',
|
27 |
'Emotion Recognition',
|
28 |
-
'Speech Translation'
|
|
|
|
|
29 |
iconName=['dashboard', 'filter_1', 'filter_2', 'filter_3', 'filter_4', 'filter_5',
|
30 |
'filter_6', 'filter_7', 'filter_8', 'filter_9', 'filter_9_plus'],
|
31 |
styles = {
|
32 |
'navtab': {
|
33 |
'font-size': '12px',
|
34 |
-
'transition': '.
|
|
|
35 |
},
|
36 |
'iconStyle':{
|
37 |
'font-size': '18px',
|
|
|
38 |
},
|
39 |
},
|
40 |
default_choice=0
|
@@ -44,10 +47,10 @@ with st.sidebar:
|
|
44 |
if tabs =='Dashboard':
|
45 |
dashboard()
|
46 |
|
47 |
-
elif tabs == '
|
48 |
asr()
|
49 |
|
50 |
-
elif tabs == 'Chinese
|
51 |
cnasr()
|
52 |
|
53 |
elif tabs == 'Speech Question Answering':
|
|
|
16 |
|
17 |
with st.sidebar:
|
18 |
tabs = on_hover_tabs(tabName=['Dashboard',
|
19 |
+
'ASR',
|
|
|
20 |
'Speech Question Answering',
|
21 |
'Speech Instruction',
|
22 |
'Audio Captioning',
|
|
|
24 |
'Accent Recognition',
|
25 |
'Gender Recognition',
|
26 |
'Emotion Recognition',
|
27 |
+
'Speech Translation',
|
28 |
+
'ASR (Chinese)',
|
29 |
+
],
|
30 |
iconName=['dashboard', 'filter_1', 'filter_2', 'filter_3', 'filter_4', 'filter_5',
|
31 |
'filter_6', 'filter_7', 'filter_8', 'filter_9', 'filter_9_plus'],
|
32 |
styles = {
|
33 |
'navtab': {
|
34 |
'font-size': '12px',
|
35 |
+
'transition': '0.3s',
|
36 |
+
'text-transform': 'none',
|
37 |
},
|
38 |
'iconStyle':{
|
39 |
'font-size': '18px',
|
40 |
+
|
41 |
},
|
42 |
},
|
43 |
default_choice=0
|
|
|
47 |
if tabs =='Dashboard':
|
48 |
dashboard()
|
49 |
|
50 |
+
elif tabs == 'ASR':
|
51 |
asr()
|
52 |
|
53 |
+
elif tabs == 'ASR (Chinese)':
|
54 |
cnasr()
|
55 |
|
56 |
elif tabs == 'Speech Question Answering':
|