Spaces:
Running
Running
Erva Ulusoy
commited on
Commit
·
42e2260
1
Parent(s):
b2ca546
enable sidebar fix
Browse files- ProtHGT_app.py +2 -3
ProtHGT_app.py
CHANGED
@@ -247,7 +247,7 @@ with st.sidebar:
|
|
247 |
disabled=disabled
|
248 |
)
|
249 |
|
250 |
-
st.warning("⚠️ Due to memory and computational constraints, the maximum number of proteins that can be processed at once is limited to 100 proteins. For larger datasets, please consider running the model locally using our GitHub repository.")
|
251 |
|
252 |
if selected_proteins and selected_go_category:
|
253 |
|
@@ -319,9 +319,8 @@ if st.session_state.submitted:
|
|
319 |
|
320 |
st.session_state.predictions_df = predictions_df
|
321 |
|
322 |
-
# Reset the
|
323 |
st.session_state.generating_predictions = False
|
324 |
-
st.session_state.submitted = False
|
325 |
st.rerun()
|
326 |
|
327 |
# Display and filter predictions
|
|
|
247 |
disabled=disabled
|
248 |
)
|
249 |
|
250 |
+
st.warning("⚠️ Due to memory and computational constraints, the maximum number of proteins that can be processed at once is limited to 100 proteins. For larger datasets, please consider running the model locally using our [GitHub repository](https://github.com/HUBioDataLab/ProtHGT).")
|
251 |
|
252 |
if selected_proteins and selected_go_category:
|
253 |
|
|
|
319 |
|
320 |
st.session_state.predictions_df = predictions_df
|
321 |
|
322 |
+
# Reset only the generating_predictions flag to release the sidebar
|
323 |
st.session_state.generating_predictions = False
|
|
|
324 |
st.rerun()
|
325 |
|
326 |
# Display and filter predictions
|