Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -310,7 +310,7 @@ def display_file_manager():
|
|
310 |
files = sorted(glob.glob("*.md"),reverse=True)
|
311 |
if st.sidebar.button("🗑 Delete All"):
|
312 |
for f in files: os.remove(f)
|
313 |
-
st.
|
314 |
if st.sidebar.button("⬇️ Download All"):
|
315 |
z= create_zip_of_files(files)
|
316 |
st.sidebar.markdown(get_download_link(z),unsafe_allow_html=True)
|
|
|
310 |
files = sorted(glob.glob("*.md"),reverse=True)
|
311 |
if st.sidebar.button("🗑 Delete All"):
|
312 |
for f in files: os.remove(f)
|
313 |
+
st.rerun()
|
314 |
if st.sidebar.button("⬇️ Download All"):
|
315 |
z= create_zip_of_files(files)
|
316 |
st.sidebar.markdown(get_download_link(z),unsafe_allow_html=True)
|