ervau commited on
Commit
9e796bc
·
1 Parent(s): 1d133b0

adjust generate predictions button placement

Browse files
Files changed (1) hide show
  1. ProtHGT_app.py +3 -3
ProtHGT_app.py CHANGED
@@ -247,8 +247,6 @@ 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](https://github.com/HUBioDataLab/ProtHGT).")
251
-
252
  if selected_proteins and selected_go_category:
253
 
254
  button_disabled = st.session_state.submitted
@@ -267,7 +265,9 @@ with st.sidebar:
267
  st.session_state.predictions_df = None
268
  st.session_state.submitted = False
269
  st.session_state.previous_inputs = current_inputs
270
-
 
 
271
  if st.session_state.submitted:
272
  with st.spinner("Generating predictions..."):
273
 
 
247
  disabled=disabled
248
  )
249
 
 
 
250
  if selected_proteins and selected_go_category:
251
 
252
  button_disabled = st.session_state.submitted
 
265
  st.session_state.predictions_df = None
266
  st.session_state.submitted = False
267
  st.session_state.previous_inputs = current_inputs
268
+
269
+ 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).")
270
+
271
  if st.session_state.submitted:
272
  with st.spinner("Generating predictions..."):
273