Strauss Cunha Carvalho commited on
Commit
3b8eb2f
·
1 Parent(s): 72a1ca8

dev:sqlite

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,7 +80,7 @@ st.info('Consultas:')
80
  e4 = st.expander('Linguagem SQL:', expanded=False)
81
  with e4:
82
  sql = st.text_input("Digite uma instrução SQL válida:", sql_example)
83
- if st.button("Processar Consulta"):
84
  df = execute_sql(sql)
85
  if df is not None:
86
  st.dataframe(df)
@@ -88,7 +88,7 @@ with e4:
88
  e5 = st.expander('Linguagem Natural:', expanded=False)
89
  with e5:
90
  txt = st.text_input("Digite um texto de consulta válido:", txt_example)
91
- if st.button("Processar Consulta"):
92
  st.write("Em construção")
93
 
94
 
 
80
  e4 = st.expander('Linguagem SQL:', expanded=False)
81
  with e4:
82
  sql = st.text_input("Digite uma instrução SQL válida:", sql_example)
83
+ if st.button("Processar instrução"):
84
  df = execute_sql(sql)
85
  if df is not None:
86
  st.dataframe(df)
 
88
  e5 = st.expander('Linguagem Natural:', expanded=False)
89
  with e5:
90
  txt = st.text_input("Digite um texto de consulta válido:", txt_example)
91
+ if st.button("Processar texto"):
92
  st.write("Em construção")
93
 
94