QuantumCode commited on
Commit
8a9279d
·
1 Parent(s): 47fdb24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def execute_sql_query(conn, query, max_rows=10, max_columns=10, truncate=True):
44
  result = f'{df.to_dict(orient="list")}\n\n{"OUTPUT_TRUNCATED" if truncated else ""}'
45
  return result
46
 
47
- client = OpenAI(api_key)
48
 
49
  def generate_sql_query_with_gpt(headers, user_prompt):
50
  """
 
44
  result = f'{df.to_dict(orient="list")}\n\n{"OUTPUT_TRUNCATED" if truncated else ""}'
45
  return result
46
 
47
+ client = OpenAI()
48
 
49
  def generate_sql_query_with_gpt(headers, user_prompt):
50
  """