Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|