Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -15,23 +15,23 @@ st.set_page_config(
|
|
| 15 |
|
| 16 |
# Dictionary mapping menu items to their corresponding functions
|
| 17 |
pages = {
|
| 18 |
-
'Dashboard'
|
| 19 |
-
'
|
| 20 |
-
'ASR-
|
| 21 |
-
'ASR-
|
| 22 |
-
'
|
| 23 |
-
'
|
| 24 |
-
'SQA-
|
| 25 |
-
'
|
| 26 |
-
'
|
| 27 |
-
'
|
| 28 |
-
'Audio
|
| 29 |
-
'
|
| 30 |
-
'
|
| 31 |
-
'
|
| 32 |
-
'
|
| 33 |
-
'
|
| 34 |
-
'* Under Development *'
|
| 35 |
}
|
| 36 |
|
| 37 |
# Initialize session state for menu selection
|
|
@@ -42,6 +42,8 @@ if 'selected_menu' not in st.session_state:
|
|
| 42 |
menu_items = [
|
| 43 |
sac.MenuItem(label='Dashboard', icon='house'),
|
| 44 |
|
|
|
|
|
|
|
| 45 |
sac.MenuItem(label='Automatic Speech Recognition', icon='mic',
|
| 46 |
children = [
|
| 47 |
sac.MenuItem(label='ASR-English', icon='mic'),
|
|
|
|
| 15 |
|
| 16 |
# Dictionary mapping menu items to their corresponding functions
|
| 17 |
pages = {
|
| 18 |
+
'Dashboard' : dashboard,
|
| 19 |
+
'MMAU' : mmau_evaluation,
|
| 20 |
+
'ASR-English' : asr_english,
|
| 21 |
+
'ASR-Mandarin' : asr_mandarin,
|
| 22 |
+
'ASR-Singlish' : asr_singlish,
|
| 23 |
+
'Speech Translation' : speech_translation,
|
| 24 |
+
'SQA-English' : speech_question_answering_english,
|
| 25 |
+
'SQA-Singlish' : speech_question_answering_singlish,
|
| 26 |
+
'SDS-Singlish' : spoken_dialogue_summarization_singlish,
|
| 27 |
+
'Speech Instruction' : speech_instruction,
|
| 28 |
+
'Audio Captioning' : audio_captioning,
|
| 29 |
+
'Audio-Scene QA' : audio_scene_question_answering,
|
| 30 |
+
'Accent Recognition' : accent_recognition,
|
| 31 |
+
'Gender Recognition' : gender_recognition,
|
| 32 |
+
'Emotion Recognition' : emotion_recognition,
|
| 33 |
+
'Music Understanding' : music_understanding,
|
| 34 |
+
'* Under Development *': under_development,
|
| 35 |
}
|
| 36 |
|
| 37 |
# Initialize session state for menu selection
|
|
|
|
| 42 |
menu_items = [
|
| 43 |
sac.MenuItem(label='Dashboard', icon='house'),
|
| 44 |
|
| 45 |
+
sac.MenuItem(label='MMAU', icon='headphones'),
|
| 46 |
+
|
| 47 |
sac.MenuItem(label='Automatic Speech Recognition', icon='mic',
|
| 48 |
children = [
|
| 49 |
sac.MenuItem(label='ASR-English', icon='mic'),
|