File size: 416 Bytes
7b1cbee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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()