rwayz commited on
Commit
5232e60
·
1 Parent(s): 99afab7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def query_sql_agent(user_query, selected_model_name):
119
 
120
  if is_greeting(user_query):
121
  greeting_response = "Olá! Estou aqui para ajudar com suas consultas. Pergunte algo relacionado aos dados carregados no agente!"
122
- query_cache[user_query] = greeting_response # Armazena saudação no cache
123
  return greeting_response
124
 
125
  column_data = pd.read_sql_query("SELECT * FROM anomalia_vendas LIMIT 10", engine)
 
119
 
120
  if is_greeting(user_query):
121
  greeting_response = "Olá! Estou aqui para ajudar com suas consultas. Pergunte algo relacionado aos dados carregados no agente!"
122
+ query_cache[user_query] = greeting_response
123
  return greeting_response
124
 
125
  column_data = pd.read_sql_query("SELECT * FROM anomalia_vendas LIMIT 10", engine)