table reload when doczy pipeline has fully run
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user