zhuohan-7 commited on
Commit
c5b64a9
1 Parent(s): ae4beef

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +9 -6
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
- 'Automatic Speech Recognition',
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': '.1s',
 
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 == 'Automatic Speech Recognition':
48
  asr()
49
 
50
- elif tabs == 'Chinese Automatic Speech Recognition':
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':