Skip to content

Commit

Permalink
fix: do not prompt to select resume style if resume is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
49Simon committed Nov 1, 2024
1 parent 15505f9 commit a6da782
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ def create_and_run_bot(parameters, llm_api_key):
resume_object = Resume(plain_text_resume)
resume_generator_manager = FacadeManager(llm_api_key, style_manager, resume_generator, resume_object, Path("data_folder/output"))

# Run the resume generator manager's functions
resume_generator_manager.choose_style()
# Run the resume generator manager's functions if resume is not provided
if 'resume' not in parameters['uploads']:
resume_generator_manager.choose_style()

job_application_profile_object = JobApplicationProfile(plain_text_resume)

Expand Down

0 comments on commit a6da782

Please sign in to comment.