Spaces:
Sleeping
Sleeping
Commit
·
4ed9060
1
Parent(s):
d90f776
Update app.py
Browse files
app.py
CHANGED
@@ -83,13 +83,17 @@ if submitted:
|
|
83 |
except:
|
84 |
selected_df = pd.DataFrame()
|
85 |
pass
|
86 |
-
if
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
|
|
|
|
92 |
else:
|
93 |
st.success('Feature vector failed.')
|
94 |
-
|
|
|
95 |
|
|
|
83 |
except:
|
84 |
selected_df = pd.DataFrame()
|
85 |
pass
|
86 |
+
if selected_df != None:
|
87 |
+
if len(selected_df) != 0 or
|
88 |
+
st.success('Feature vector successfully created.')
|
89 |
+
csv = convert_df(selected_df)
|
90 |
+
|
91 |
+
st.download_button("Press to Download the Feature Vector", csv,"ASCARIS_SAV_rep.csv","text/csv",key='download-csv')
|
92 |
+
|
93 |
+
else:
|
94 |
+
st.success('Feature vector failed.')
|
95 |
else:
|
96 |
st.success('Feature vector failed.')
|
97 |
+
|
98 |
+
|
99 |
|