Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,12 +53,6 @@ def get_zip_download_link(zip_file):
|
|
53 |
href = f'<a href="data:file/zip;base64,{b64}" download="{link_name}">Download: {link_name}</a>'
|
54 |
return href
|
55 |
|
56 |
-
if st.sidebar.button("⬇️ Download All"):
|
57 |
-
start_directory = '.' # Current directory
|
58 |
-
for zip_file in zip_subdirs(start_directory):
|
59 |
-
st.sidebar.markdown(get_zip_download_link(zip_file), unsafe_allow_html=True)
|
60 |
-
|
61 |
-
|
62 |
|
63 |
@st.cache_resource
|
64 |
def create_zip_of_files(files):
|
|
|
53 |
href = f'<a href="data:file/zip;base64,{b64}" download="{link_name}">Download: {link_name}</a>'
|
54 |
return href
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
@st.cache_resource
|
58 |
def create_zip_of_files(files):
|