siriuszeina commited on
Commit
330a6d1
1 Parent(s): 08bdaa2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
  if os.path.exists("./output/") == False:
5
  os.mkdir("./output/")
6
 
7
- archived = shutil.make_archive('E:/Zipped file', 'zip', 'E:/Folder to be zipped')
8
  if st.download_button(label="Download output "+str(len(os.listdir("./output/"))), data=archived, file_name='output.zip', mime='application/x-zip'):
9
  st.write("download")
10
  st.write(os.listdir("./"))
 
4
  if os.path.exists("./output/") == False:
5
  os.mkdir("./output/")
6
 
7
+ archived = shutil.make_archive("./output.zip", 'zip', "./output/")
8
  if st.download_button(label="Download output "+str(len(os.listdir("./output/"))), data=archived, file_name='output.zip', mime='application/x-zip'):
9
  st.write("download")
10
  st.write(os.listdir("./"))