diff --git a/streamlit/interface_1.py b/streamlit/interface_1.py index c788354..4bf6831 100644 --- a/streamlit/interface_1.py +++ b/streamlit/interface_1.py @@ -15,6 +15,11 @@ from constants import USER_LIST (REDIRECT_URI, create_batch_url, doczy_pipeline) = util.load_page_details(1) +def update_dataframe(): + new_df = pd.DataFrame(columns=['Contract Name', 'Unique Key','Pricing Before Carveouts' + , 'Contract Related', 'Provider', 'Timeline', 'Carveout Indicator', 'Carveout Methodology']) + st.session_state['dataframe'] = new_df + user_list = USER_LIST st.set_page_config(layout = "wide") # Sidebar contents @@ -272,7 +277,7 @@ with buttons[1]: st.write("Success") #Updates and Reruns the Code after everything on the interface has completed update_dataframe() - st.experimental_rerun() + st.rerun() # st.write(myobj) else: st.write("Failed")