From 24c8b1220fa762305ba78c053f9cad08a33fe704 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 27 Nov 2022 16:06:12 +0100 Subject: [PATCH] Update code.py --- code/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/code.py b/code/code.py index 6488718..ec525d4 100644 --- a/code/code.py +++ b/code/code.py @@ -10,7 +10,7 @@ def debug(message): logging.info(message) #create a database called "database.db" if the database does not exist, else connect to it -conn = sqlite3.connect('data.db') +conn = sqlite3.connect('../database/data.db') c = conn.cursor() # Create table called "data" if it does not exist with the following columns: guild_id, channel_id, api_key, is_active, max_tokens, temperature, frequency_penalty, presence_penalty, uses_count_today, prompt_size