order main fixed
This commit is contained in:
parent
737d9cf457
commit
ff07741e75
3
main.py
3
main.py
@ -152,6 +152,7 @@ def create_and_run_bot(email: str, password: str, parameters: dict, openai_api_k
|
|||||||
|
|
||||||
style_manager = StyleManager()
|
style_manager = StyleManager()
|
||||||
resume_generator = ResumeGenerator()
|
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"))
|
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:
|
with open(parameters['uploads']['plainTextResume'], "r") as file:
|
||||||
plain_text_resume = file.read()
|
plain_text_resume = file.read()
|
||||||
|
|
||||||
resume_object = Resume(plain_text_resume)
|
|
||||||
job_application_profile_object = JobApplicationProfile(plain_text_resume)
|
job_application_profile_object = JobApplicationProfile(plain_text_resume)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user