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

Remove old processed files #86

Closed ILB-96 closed 11 months ago

ILB-96 commented 12 months ago

Pull Request Title

Improved Data handling

Related Issue

issue #74

Description

  1. Json files in the Processed folder would stack on top of each other if not deleted manually but now they are removed automatically.
  2. If you had 1-2 files the slider would cause an error because you can't have a slide with 1 item and the default value of the sliders was 2.

Type

Proposed Changes

Screenshots / Code Snippets (if applicable)

How to Test

  1. python run_first.py would remove the existing files
  2. streamlite run streamlite_app.py would work even if you have only 1 resume/job description json file

Checklist

Additional Information

srbhr commented 12 months ago

Thanks @Hazannovich for this PR. I will test it and then merge it.

Thanks for the PR.