mbosse99 commited on
Commit
dc0161d
·
1 Parent(s): 9f8e9c3

force reload after form submit

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -72,6 +72,7 @@ def main():
72
  pdf_data = uploaded_file.read()
73
 
74
  upload_blob(pdf_name, json_data, pdf_data)
 
75
  else:
76
  st.write("Please fill out both fields and upload a PDF file.")
77
 
 
72
  pdf_data = uploaded_file.read()
73
 
74
  upload_blob(pdf_name, json_data, pdf_data)
75
+ streamlit_js_eval(js_expressions="parent.window.location.reload()")
76
  else:
77
  st.write("Please fill out both fields and upload a PDF file.")
78