Update app.py
Browse files
app.py
CHANGED
|
@@ -200,11 +200,11 @@ if predict_clicked:
|
|
| 200 |
|
| 201 |
mostrar(header, y_ens)
|
| 202 |
|
| 203 |
-
# LISTA COMPLETA COM BARRA DE PESQUISA
|
| 204 |
with st.expander("Mostrar lista completa dos 597 GO terms possíveis", expanded=False):
|
| 205 |
-
st.
|
| 206 |
-
search_term = st.text_area("", height=70) # mínimo permitido é 68
|
| 207 |
|
|
|
|
| 208 |
filtered_go_terms = []
|
| 209 |
for go_id in GO:
|
| 210 |
name, _ = GO_INFO.get(go_id, ("", ""))
|
|
@@ -220,4 +220,3 @@ with st.expander("Mostrar lista completa dos 597 GO terms possíveis", expanded=
|
|
| 220 |
st.info("Nenhum GO term corresponde ao filtro inserido.")
|
| 221 |
|
| 222 |
|
| 223 |
-
|
|
|
|
| 200 |
|
| 201 |
mostrar(header, y_ens)
|
| 202 |
|
| 203 |
+
# LISTA COMPLETA COM BARRA DE PESQUISA #
|
| 204 |
with st.expander("Mostrar lista completa dos 597 GO terms possíveis", expanded=False):
|
| 205 |
+
search_term = st.text_input("🔍 Filtra GO term ou nome:")
|
|
|
|
| 206 |
|
| 207 |
+
# aplicar filtro
|
| 208 |
filtered_go_terms = []
|
| 209 |
for go_id in GO:
|
| 210 |
name, _ = GO_INFO.get(go_id, ("", ""))
|
|
|
|
| 220 |
st.info("Nenhum GO term corresponde ao filtro inserido.")
|
| 221 |
|
| 222 |
|
|
|