srbhr / Resume-Matcher

Resume Matcher is an open source, free tool to improve your resume. It works by using language models to compare and rank resumes with job descriptions.
https://www.resumematcher.fyi/
Apache License 2.0
4.76k stars 1.93k forks source link

Throws out of range exception when only 1 resume is provided. #95

Closed sanketkhajuria closed 11 months ago

sanketkhajuria commented 11 months ago

Issue Title

Throws out of range exception when only 1 resume is provided.

Type

Description

Throws out of range exception when only 1 resume is provided. List size is 1 but slider gives numbers 0,1,2 due to current implementation. Hence there is an out of range exception due to these numbers.

Screenshots / Code Snippets (if applicable)

Screenshot 2023-08-05 at 9 27 11 PM

Environment

Possible Solution (if you have any in mind)

Additional Information

srbhr commented 11 months ago

Hi @sanketkhajuria there is a PR that fixes this exact issue. And I'll get it merged today. Thanks for pointing it out.

sanketkhajuria commented 11 months ago

Okay. Thanks for informing. I too was trying to create a PR for the same.

srbhr commented 11 months ago

Okay @sanketkhajuria please check this PR: https://github.com/srbhr/Resume-Matcher/pull/86 And see if there's anything that you can add on top of it. Also join in the discord for the discussion on the roadmap for this. 🔗: https://dsc.gg/resume-matcher

srbhr commented 11 months ago

@sanketkhajuria can you check now, if the same issue persists? I think this was solved with the merged PR by @Hazannovich

srbhr commented 11 months ago

Fixed by the PR @Hazannovich raised.