siriuszeina commited on
Commit
713298e
1 Parent(s): 87b4f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,11 +4,11 @@ import os
4
  if os.path.exists("./output/") == False:
5
  os.mkdir("./output/")
6
  if project_name = st.text_input("Project name"):
7
- st.write(project_name)
8
 
9
  archived = shutil.make_archive("./output.zip", 'zip', "./output/")
10
  output_num = len(os.listdir("./output/"))
11
  if output_num > 0:
12
- st.download_button(label="Download "+str(output_num)+" file", data=archived, file_name='output.zip', mime='application/x-zip'):
13
 
14
  print(os.listdir("./"))
 
4
  if os.path.exists("./output/") == False:
5
  os.mkdir("./output/")
6
  if project_name = st.text_input("Project name"):
7
+ st.write(project_name)
8
 
9
  archived = shutil.make_archive("./output.zip", 'zip', "./output/")
10
  output_num = len(os.listdir("./output/"))
11
  if output_num > 0:
12
+ st.download_button(label="Download "+str(output_num)+" file", data=archived, file_name='output.zip', mime='application/x-zip')
13
 
14
  print(os.listdir("./"))