Jacqkues commited on
Commit
1dcf789
·
verified ·
1 Parent(s): ba2b9e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def generate_and_run_sql(prompt):
60
  out = ""
61
  for chunk in answer:
62
  out += chunk
63
- return out
64
 
65
 
66
  def connect_to_database(db_url):
 
60
  out = ""
61
  for chunk in answer:
62
  out += chunk
63
+ return [{"role":"assistant","content":out}]
64
 
65
 
66
  def connect_to_database(db_url):