Spaces:
Running
Running
force reload after form submit
Browse files
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 |
|