From fbcee7ac0ae444bf3b22ebbbfa79e003b4f287b2 Mon Sep 17 00:00:00 2001 From: hglong16 Date: Fri, 5 Jan 2024 00:49:34 +0700 Subject: [PATCH] Add default.sqlite to .gitignore --- .gitignore | 1 + transformer.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fe7fe40..602a543 100644 --- a/.gitignore +++ b/.gitignore @@ -180,3 +180,4 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +default.sqlite diff --git a/transformer.py b/transformer.py index 825adf4..ea7395b 100644 --- a/transformer.py +++ b/transformer.py @@ -15,7 +15,8 @@ class Transformer: openai.api_key = os.environ["OPENAI_API_KEY"] PROMPT = "Please write a detailed summary of the following:" - MAIN_PATH = "/Users/orbiszeus/Master_AI_LlamaIndex-1" + # MAIN_PATH = "/Users/orbiszeus/Master_AI_LlamaIndex-1" + MAIN_PATH = os. #This method saves uploadede pdfs into a txt file inside the curr directory. def save_file(content, filepath):