sql_trainer / app.py
seriouspark's picture
sql_uploader and practier
7b1cbee
raw
history blame contribute delete
416 Bytes
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()