Update app.py
Browse files
app.py
CHANGED
@@ -281,16 +281,16 @@ if submit and len(x) != 0:
|
|
281 |
hormrecepcsv = hormrecepdf.to_csv('hormrecep.csv')
|
282 |
|
283 |
with zipfile.ZipFile("allcsvs.zip", "w") as zipf:
|
284 |
-
if
|
285 |
zipf.write(edccancsv)
|
286 |
st.write("am in zip")
|
287 |
-
if
|
288 |
zipf.write(edcrecepcsv)
|
289 |
-
if
|
290 |
zipf.write(edchormcsv)
|
291 |
-
if
|
292 |
zipf.write(hormcancsv)
|
293 |
-
if
|
294 |
zipf.write(hormrecepcsv)
|
295 |
zipf.close()
|
296 |
|
|
|
281 |
hormrecepcsv = hormrecepdf.to_csv('hormrecep.csv')
|
282 |
|
283 |
with zipfile.ZipFile("allcsvs.zip", "w") as zipf:
|
284 |
+
if len(edccann)!=0:
|
285 |
zipf.write(edccancsv)
|
286 |
st.write("am in zip")
|
287 |
+
if len(edcrecep)!=0:
|
288 |
zipf.write(edcrecepcsv)
|
289 |
+
if len(edchorm)!=0:
|
290 |
zipf.write(edchormcsv)
|
291 |
+
if len(hormcan)!=0:
|
292 |
zipf.write(hormcancsv)
|
293 |
+
if len(hormrecep)!=0:
|
294 |
zipf.write(hormrecepcsv)
|
295 |
zipf.close()
|
296 |
|