order main fixed

This commit is contained in:
feder-cr 2024-08-22 18:26:00 +01:00
parent 737d9cf457
commit ff07741e75

View File

@ -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)