jfataphd commited on
Commit
314d3c7
·
1 Parent(s): 029e89d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -464,7 +464,7 @@ if query:
464
  else:
465
  st.warning(
466
  f"This selection exceeds the number of similar proteins related to {query} within the {database_name} corpus, please choose a lower number")
467
-
468
  st.markdown(
469
  f"<h2 style='text-align: center; font-family: Arial; font-size: 20px; font-weight: bold;'>3D interactive "
470
  f"gene embedding map for <span style='color:red; font-style: italic;'>{value_gene}</span> genes most similar "
 
464
  else:
465
  st.warning(
466
  f"This selection exceeds the number of similar proteins related to {query} within the {database_name} corpus, please choose a lower number")
467
+ value_gene = min(df_len, 50)
468
  st.markdown(
469
  f"<h2 style='text-align: center; font-family: Arial; font-size: 20px; font-weight: bold;'>3D interactive "
470
  f"gene embedding map for <span style='color:red; font-style: italic;'>{value_gene}</span> genes most similar "