Upload app.py with huggingface_hub
Browse files
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=['
|
| 19 |
-
'ASR',
|
| 20 |
-
'ASR
|
| 21 |
'Speech Translation',
|
| 22 |
'Speech Question Answering',
|
| 23 |
'Speech Instruction',
|
|
@@ -44,13 +44,13 @@ with st.sidebar:
|
|
| 44 |
)
|
| 45 |
|
| 46 |
|
| 47 |
-
if tabs =='
|
| 48 |
dashboard()
|
| 49 |
|
| 50 |
-
elif tabs == 'ASR':
|
| 51 |
asr()
|
| 52 |
|
| 53 |
-
elif tabs == 'ASR
|
| 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':
|