import os import streamlit as st import streamlit.components.v1 as components from st_on_hover_tabs import on_hover_tabs from pages import * def main(): ## Set Streamlit configuration st.set_page_config(page_title='MERaLiON-AudioLLM', page_icon = "🔥", layout='wide') st.markdown('', unsafe_allow_html=True) with st.sidebar: tabs = on_hover_tabs(tabName=['HOME', 'MERaLiON-AudioLLM', ], iconName=['dashboard', 'filter_1'], styles = { 'navtab': { 'font-size': '12px', 'transition': '0.3s', 'text-transform': 'none', }, 'iconStyle':{ 'font-size': '18px', }, }, default_choice=0 ) if tabs =='HOME': home_page() elif tabs == 'MERaLiON-AudioLLM': audio_llm() if __name__ == '__main__': main()