themissingCRAM
commited on
Commit
·
36a05b5
1
Parent(s):
76fbe38
switch to llama llm
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def init_db():
|
|
| 56 |
|
| 57 |
metadata_obj = MetaData()
|
| 58 |
|
| 59 |
-
def insert_rows_into_table(rows, table, engine=engine):
|
| 60 |
for row in rows:
|
| 61 |
stmt = insert(table).values(**row)
|
| 62 |
with engine.begin() as connection:
|
|
|
|
| 56 |
|
| 57 |
metadata_obj = MetaData()
|
| 58 |
|
| 59 |
+
def insert_rows_into_table(rows, table, engine: any = engine):
|
| 60 |
for row in rows:
|
| 61 |
stmt = insert(table).values(**row)
|
| 62 |
with engine.begin() as connection:
|