From ff07741e75c1aeef11d2e76a3ffe30d00eabc676 Mon Sep 17 00:00:00 2001 From: feder-cr Date: Thu, 22 Aug 2024 18:26:00 +0100 Subject: [PATCH] order main fixed --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 38d99a1..135a632 100644 --- a/main.py +++ b/main.py @@ -152,6 +152,7 @@ def create_and_run_bot(email: str, password: str, parameters: dict, openai_api_k style_manager = StyleManager() resume_generator = ResumeGenerator() + resume_object = Resume(plain_text_resume) resume_generator_manager = FacadeManager(openai_api_key, style_manager, resume_generator, resume_object, Path("data_folder/output")) @@ -164,7 +165,7 @@ def create_and_run_bot(email: str, password: str, parameters: dict, openai_api_k with open(parameters['uploads']['plainTextResume'], "r") as file: plain_text_resume = file.read() - resume_object = Resume(plain_text_resume) + job_application_profile_object = JobApplicationProfile(plain_text_resume)