diff --git a/streamlit/interface_1.py b/streamlit/interface_1.py index 25666d5..861e195 100644 --- a/streamlit/interface_1.py +++ b/streamlit/interface_1.py @@ -265,7 +265,6 @@ with buttons[1]: st.error("Select at least one Group No. for every Contract") else: #Resets the Data Editor with Blank Values - update_dataframe() with st.spinner('Running...'): # csv_buf = StringIO() # additional_info.to_csv(csv_buf, header=True, index=False) @@ -282,6 +281,9 @@ with buttons[1]: response = requests.post(doczy_pipeline, json = myobj) if response.status_code >= 200 and response.status_code < 300: st.write("Success") + #Updates and Reruns the Code after everything on the interface has completed + update_dataframe() + st.experimental_rerun() # st.write(myobj) else: st.write("Failed")