Spaces:
Sleeping
Sleeping
Erva Ulusoy
commited on
Commit
·
a38fdcd
1
Parent(s):
210eeb2
fix example proteins bug
Browse files- ProtHGT_app.py +4 -3
ProtHGT_app.py
CHANGED
@@ -38,8 +38,6 @@ if 'submitted' not in st.session_state:
|
|
38 |
st.session_state.submitted = False
|
39 |
if 'previous_inputs' not in st.session_state:
|
40 |
st.session_state.previous_inputs = None
|
41 |
-
if 'example_proteins' not in st.session_state:
|
42 |
-
st.session_state.example_proteins = random.sample(available_proteins, 5)
|
43 |
|
44 |
with st.expander("🚀 Upcoming Features"):
|
45 |
st.info("""
|
@@ -82,7 +80,10 @@ with st.sidebar:
|
|
82 |
</div>
|
83 |
""", unsafe_allow_html=True)
|
84 |
|
85 |
-
available_proteins = get_available_proteins()
|
|
|
|
|
|
|
86 |
|
87 |
selected_proteins = []
|
88 |
|
|
|
38 |
st.session_state.submitted = False
|
39 |
if 'previous_inputs' not in st.session_state:
|
40 |
st.session_state.previous_inputs = None
|
|
|
|
|
41 |
|
42 |
with st.expander("🚀 Upcoming Features"):
|
43 |
st.info("""
|
|
|
80 |
</div>
|
81 |
""", unsafe_allow_html=True)
|
82 |
|
83 |
+
available_proteins = get_available_proteins()
|
84 |
+
|
85 |
+
if 'example_proteins' not in st.session_state:
|
86 |
+
st.session_state.example_proteins = random.sample(available_proteins, 5)
|
87 |
|
88 |
selected_proteins = []
|
89 |
|