Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -68,7 +68,7 @@ def execute_sql_search(query, limit=200):
|
|
| 68 |
|
| 69 |
cur.execute(sql, (query, query, limit))
|
| 70 |
rows = cur.fetchall()
|
| 71 |
-
df = pd.DataFrame(rows, columns=["case_id", "citation_name", "court", "case_title", "case_text", "rank"])
|
| 72 |
cur.close()
|
| 73 |
conn.close()
|
| 74 |
return df
|
|
|
|
| 68 |
|
| 69 |
cur.execute(sql, (query, query, limit))
|
| 70 |
rows = cur.fetchall()
|
| 71 |
+
df = pd.DataFrame(rows, columns=["case_id", "citation_name", "court", "case_title","case_year" ,"case_text", "rank"])
|
| 72 |
cur.close()
|
| 73 |
conn.close()
|
| 74 |
return df
|