melvinalves commited on
Commit
13ef88e
·
verified ·
1 Parent(s): 1e80f79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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("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, ("", ""))
@@ -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
+