Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
dd50af6
1
Parent(s):
034333d
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ def convert_df(df):
|
|
21 |
if 'visibility' not in st.session_state:
|
22 |
st.session_state['visibility'] = 'visible'
|
23 |
st.session_state.disabled = False
|
24 |
-
st.session_state.placeholder = 'xx'
|
25 |
|
26 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
27 |
st.markdown(original_title, unsafe_allow_html=True)
|
@@ -34,26 +33,15 @@ st.write('')
|
|
34 |
st.write('')
|
35 |
|
36 |
selected_df = pd.DataFrame()
|
37 |
-
with st.form('mform', clear_on_submit=
|
38 |
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
39 |
impute = st.selectbox('Imputation',[True, False])
|
40 |
-
|
41 |
input_data = st.text_input('Enter SAV data points (Format Provided Below)', "P13637-T-613-M, Q9Y4W6-N-432-T",
|
42 |
label_visibility=st.session_state.visibility,
|
43 |
disabled=st.session_state.disabled,
|
44 |
-
placeholder='hidden',
|
45 |
)
|
46 |
-
"""
|
47 |
-
input_data = st.text_input(
|
48 |
-
"Enter some text 👇",
|
49 |
-
label_visibility=st.session_state.visibility,
|
50 |
-
disabled=st.session_state.disabled,
|
51 |
-
placeholder=st.session_state.placeholder, key='placeholder',
|
52 |
-
)
|
53 |
|
54 |
-
if text_input:
|
55 |
-
st.write("You entered: ", input_data)
|
56 |
-
|
57 |
|
58 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
59 |
|
|
|
21 |
if 'visibility' not in st.session_state:
|
22 |
st.session_state['visibility'] = 'visible'
|
23 |
st.session_state.disabled = False
|
|
|
24 |
|
25 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
26 |
st.markdown(original_title, unsafe_allow_html=True)
|
|
|
33 |
st.write('')
|
34 |
|
35 |
selected_df = pd.DataFrame()
|
36 |
+
with st.form('mform', clear_on_submit=True):
|
37 |
source = st.selectbox('Select the protein structure resource (1: PDB-SwissModel-Modbase, 2: AlphaFold)',[1,2])
|
38 |
impute = st.selectbox('Imputation',[True, False])
|
39 |
+
|
40 |
input_data = st.text_input('Enter SAV data points (Format Provided Below)', "P13637-T-613-M, Q9Y4W6-N-432-T",
|
41 |
label_visibility=st.session_state.visibility,
|
42 |
disabled=st.session_state.disabled,
|
|
|
43 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
|
|
|
|
|
|
45 |
|
46 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
47 |
|