Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 "
|