Spaces:
Sleeping
Sleeping
import streamlit as st | |
from streamlit import config | |
import make_db | |
#import text2sql | |
import sql_training | |
# νμ΄μ§ μ€μ | |
#st.set_page_config(page_title='text2sql', layout = 'wide') | |
PAGES = { | |
'Excel to DataBase': make_db, | |
'SQL Training' : sql_training, | |
# 'Text2SQL' : text2sql | |
} | |
st.sidebar.title('λ©λ΄') | |
selection = st.sidebar.radio('Go to', list(PAGES.keys())) | |
page = PAGES[selection] | |
page.app() | |