diff --git a/sqlplayground_app/app.py b/sqlplayground_app/app.py index c421cf2..59d0fb9 100644 --- a/sqlplayground_app/app.py +++ b/sqlplayground_app/app.py @@ -32,7 +32,7 @@ def main(): st.subheader("HomePage") # Columns/Layout - col1,col2 = st.beta_columns(2) + col1,col2 = st.columns(2) with col1: with st.form(key='query_form'): @@ -41,7 +41,7 @@ def main(): # Table of Info - with st.beta_expander("Table Info"): + with st.expander("Table Info"): table_info = {'city':city,'country':country,'countrylanguage':countrylanguage} st.json(table_info) @@ -53,10 +53,10 @@ def main(): # Results query_results = sql_executor(raw_code) - with st.beta_expander("Results"): + with st.expander("Results"): st.write(query_results) - with st.beta_expander("Pretty Table"): + with st.expander("Pretty Table"): query_df = pd.DataFrame(query_results) st.dataframe(query_df) @@ -70,4 +70,3 @@ def main(): if __name__ == '__main__': main() -