Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import os
|
|
2 |
|
3 |
import streamlit as st
|
4 |
import streamlit.components.v1 as components
|
5 |
-
from st_on_hover_tabs import on_hover_tabs
|
6 |
|
7 |
from pages import *
|
8 |
|
@@ -10,32 +9,7 @@ def main():
|
|
10 |
## Set Streamlit configuration
|
11 |
st.set_page_config(page_title='MERaLiON-AudioLLM', page_icon = "🔥", layout='wide')
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
with st.sidebar:
|
16 |
-
tabs = on_hover_tabs(tabName=['MERaLiON-AudioLLM'],
|
17 |
-
iconName=['filter_1'],
|
18 |
-
styles = {
|
19 |
-
'navtab': {
|
20 |
-
'color': 'white',
|
21 |
-
'font-size': '14px',
|
22 |
-
'transition': '0.3s',
|
23 |
-
'text-transform': 'none',
|
24 |
-
},
|
25 |
-
'iconStyle':{
|
26 |
-
'font-size': '18px',
|
27 |
-
|
28 |
-
},
|
29 |
-
},
|
30 |
-
default_choice=0
|
31 |
-
)
|
32 |
-
|
33 |
-
|
34 |
-
if tabs =='HOME':
|
35 |
-
home_page()
|
36 |
-
|
37 |
-
elif tabs == 'MERaLiON-AudioLLM':
|
38 |
-
audio_llm()
|
39 |
|
40 |
if __name__ == '__main__':
|
41 |
main()
|
|
|
2 |
|
3 |
import streamlit as st
|
4 |
import streamlit.components.v1 as components
|
|
|
5 |
|
6 |
from pages import *
|
7 |
|
|
|
9 |
## Set Streamlit configuration
|
10 |
st.set_page_config(page_title='MERaLiON-AudioLLM', page_icon = "🔥", layout='wide')
|
11 |
|
12 |
+
audio_llm()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
if __name__ == '__main__':
|
15 |
main()
|