JMalott commited on
Commit
7fc2201
1 Parent(s): 6e709e7

Update page/reduce.py

Browse files
Files changed (1) hide show
  1. page/reduce.py +9 -0
page/reduce.py CHANGED
@@ -33,6 +33,15 @@ def app():
33
 
34
  deleteButtons = []
35
 
 
 
 
 
 
 
 
 
 
36
  for ix,result in enumerate( st.session_state.results ):
37
 
38
  with st.container():
 
33
 
34
  deleteButtons = []
35
 
36
+ if(len(st.session_state.results) >= 3):
37
+ st.download_button(
38
+ label="Download images as zip",
39
+ data=open('ai_architecture.zip', 'rb'),
40
+ file_name='ai_architecture '+d.strftime("%m-%d-%Y")+'.zip',
41
+ mime='application/zip',
42
+ key="top_button"
43
+ )
44
+
45
  for ix,result in enumerate( st.session_state.results ):
46
 
47
  with st.container():