Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Watch the demo video to see Adhoc in action:

![Adhoc Demo](adhoc_demo.gif)


## Table of Contents
- [Features](#features)
- [Installation](#installation)
Expand Down Expand Up @@ -112,4 +113,4 @@ This project is licensed under the MIT License. See the LICENSE file for details
> ― Jane Jacobs


Happy coding!
Happy coding!!
4 changes: 2 additions & 2 deletions adhoc/db/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def get_connection():
conn = sqlite3.connect(DB_PATH)
return conn

#initialize_database() function is used to create the tables in the database.
def initialize_database():
conn = get_connection()
cursor = conn.cursor()
Expand Down Expand Up @@ -73,7 +73,7 @@ def save_explanations(explanations):
''', (item['file_path'], item['explanation']))
conn.commit()
conn.close()

#GET_EXPLANATIONS() function is used to retrieve all explanations from the database.
def get_explanations():
"""
Retrieve all explanations from the database.
Expand Down