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("
|
| 205 |
-
|
|
|
|
| 206 |
|
| 207 |
-
# aplicar filtro
|
| 208 |
filtered_go_terms = []
|
| 209 |
for go_id in GO:
|
| 210 |
name, _ = GO_INFO.get(go_id, ("", ""))
|
|
@@ -219,3 +219,4 @@ with st.expander("Lista completa dos 597 GO terms possíveis", expanded=False):
|
|
| 219 |
else:
|
| 220 |
st.info("Nenhum GO term corresponde ao filtro inserido.")
|
| 221 |
|
|
|
|
|
|
| 200 |
|
| 201 |
mostrar(header, y_ens)
|
| 202 |
|
| 203 |
+
# LISTA COMPLETA COM BARRA DE PESQUISA REATIVA #
|
| 204 |
+
with st.expander("Mostrar lista completa dos 597 GO terms possíveis", expanded=False):
|
| 205 |
+
st.markdown("### Filtra GO term ou nome:")
|
| 206 |
+
search_term = st.text_area("", height=35)
|
| 207 |
|
|
|
|
| 208 |
filtered_go_terms = []
|
| 209 |
for go_id in GO:
|
| 210 |
name, _ = GO_INFO.get(go_id, ("", ""))
|
|
|
|
| 219 |
else:
|
| 220 |
st.info("Nenhum GO term corresponde ao filtro inserido.")
|
| 221 |
|
| 222 |
+
|