fatmacankara commited on
Commit
e52de1a
1 Parent(s): 05e0ac4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -80,14 +80,17 @@ if submitted:
80
  except:
81
  selected_df = pd.DataFrame()
82
  pass
 
83
  st.write(selected_df)
84
- if selected_df != None | len(selected_df) != 0 :
85
- st.success('Feature vector successfully created.')
86
- csv = convert_df(selected_df)
87
-
88
- st.download_button("Press to Download the Feature Vector", csv,"ASCARIS_SAV_rep.csv","text/csv",key='download-csv')
89
-
90
 
 
 
91
  else:
92
  st.success('Feature vector failed. Check log file.')
93
 
 
80
  except:
81
  selected_df = pd.DataFrame()
82
  pass
83
+ st.write(selected_df==None)
84
  st.write(selected_df)
85
+ if selected_df != None :
86
+ if len(selected_df) != 0 :
87
+ st.success('Feature vector successfully created.')
88
+ csv = convert_df(selected_df)
89
+
90
+ st.download_button("Press to Download the Feature Vector", csv,"ASCARIS_SAV_rep.csv","text/csv",key='download-csv')
91
 
92
+ else:
93
+ st.success('Feature vector failed. Check log file.')
94
  else:
95
  st.success('Feature vector failed. Check log file.')
96