diff --git a/README.md b/README.md index d6d46a8..eb90622 100644 --- a/README.md +++ b/README.md @@ -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) @@ -112,4 +113,4 @@ This project is licensed under the MIT License. See the LICENSE file for details > ― Jane Jacobs -Happy coding! +Happy coding!! diff --git a/adhoc/db/database.py b/adhoc/db/database.py index b0e0046..d00fc7c 100644 --- a/adhoc/db/database.py +++ b/adhoc/db/database.py @@ -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() @@ -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.