Spaces:
Sleeping
Sleeping
Commit
·
52802dd
1
Parent(s):
07f88ce
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ st.write('')
|
|
54 |
st.write('')
|
55 |
st.write('')
|
56 |
|
57 |
-
|
58 |
with st.form('mform', clear_on_submit=False):
|
59 |
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
60 |
impute = st.selectbox('Imputation',[True, False])
|
@@ -106,8 +106,8 @@ with st.form('mform', clear_on_submit=False):
|
|
106 |
pass
|
107 |
st.success('Feature vector successfully created.')
|
108 |
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
|
113 |
|
|
|
54 |
st.write('')
|
55 |
st.write('')
|
56 |
|
57 |
+
selected_df = df.DataFrame()
|
58 |
with st.form('mform', clear_on_submit=False):
|
59 |
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
60 |
impute = st.selectbox('Imputation',[True, False])
|
|
|
106 |
pass
|
107 |
st.success('Feature vector successfully created.')
|
108 |
|
109 |
+
with st.form("download_form", clear_on_submit=False):
|
110 |
+
st.text_input("Enter filename", key="filename")
|
111 |
+
submit = st.form_submit_button("Download", on_click=selected_df)
|
112 |
|
113 |
|