zhuohan-7 commited on
Commit
97145d2
1 Parent(s): 1d32376

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -15,9 +15,9 @@ st.set_page_config(
15
  st.markdown('<style>' + open('./style/sidebar_style.css').read() + '</style>', unsafe_allow_html=True)
16
 
17
  with st.sidebar:
18
- tabs = on_hover_tabs(tabName=['Dashboard',
19
- 'ASR',
20
- 'ASR (Chinese)',
21
  'Speech Translation',
22
  'Speech Question Answering',
23
  'Speech Instruction',
@@ -44,13 +44,13 @@ with st.sidebar:
44
  )
45
 
46
 
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':
 
15
  st.markdown('<style>' + open('./style/sidebar_style.css').read() + '</style>', unsafe_allow_html=True)
16
 
17
  with st.sidebar:
18
+ tabs = on_hover_tabs(tabName=['== INTRODUCTION ==',
19
+ 'ASR - English',
20
+ 'ASR - Mandarin',
21
  'Speech Translation',
22
  'Speech Question Answering',
23
  'Speech Instruction',
 
44
  )
45
 
46
 
47
+ if tabs =='== INTRODUCTION ==':
48
  dashboard()
49
 
50
+ elif tabs == 'ASR - English':
51
  asr()
52
 
53
+ elif tabs == 'ASR - Mandarin':
54
  cnasr()
55
 
56
  elif tabs == 'Speech Question Answering':