Skip to content

Conversation

@imhalcyon
Copy link
Contributor

@imhalcyon imhalcyon commented Oct 2, 2023

Pull Request Title

Interactive streamlit application with file upload and new column based UI

Related Issue

N/A

Description

This new interactive streamlit application allows users to directly upload or drag-and-drop the PDF files using streamlit's file_uploader component. The application also includes a new UI to allow side-by-side comparisons for each of the following:

  1. Parsed Data
  2. Extracted Keywords
  3. Extracted Entities
  4. Keywords & Values
  5. Key Topics

Type

  • Bug Fix
  • Feature Enhancement
  • Documentation Update
  • Code Refactoring
  • Other (please specify):

Proposed Changes

N/A

Screenshots / Code Snippets (if applicable)

Landing Page:
image

Notification while uploading a file - Also includes a spinner to show progress:
image

After processing:
image

Each component holds the grid layout to avoid overlap for easy comparison:
Only 1 expander opened: image

Both expanders opened:
image

The Similarity Score and common words has been pushed to the bottom section outside of the grid:
image

The Similarity Score also changes color based on the following rules - subject to change:

# Default color to green
score_color = "green"
if similarity_score < 60:
    score_color = "red"
elif 60 <= similarity_score < 75:
    score_color = "orange"

How to Test

  1. Execute pip install -r requirements.txt to upgrade streamlit and other dependencies
  2. Include config.yml file if similarity score needs to be calculated
  3. Execute streamlit run streamlit_interactive.py
  4. Upload/Drag-and-drop the resume and job description PDF
  5. Done

Checklist

  • The code compiles successfully without any errors or warnings
  • The changes have been tested and verified
  • The documentation has been updated (if applicable)
  • The changes follow the project's coding guidelines and best practices
  • The commit messages are descriptive and follow the project's guidelines
  • All tests (if applicable) pass successfully
  • This pull request has been linked to the related issue (if applicable)

Additional Information

@Devasy23
Copy link
Contributor

Devasy23 commented Oct 2, 2023

Hi there! Firstly, huge thanks for your contributions and effort! I've gone through the recent commit, and I noticed a few things that might need some adjustments:

  1. The extracted entities graphs seem a bit stretched. I wonder if setting the layout to "wide" might enhance the visualization. You can check the screenshot image.

  2. I observed that the key topics are currently being extracted only from the job description and not from the resume. Ideally, having key topics from both sources would provide a more comprehensive analysis. Although keywords and values are accurately extracted from the resume, the same isn't happening for the JD.
    image
    image

  3. One thing I noticed during my run was that the score wasn't displayed. Understanding the match score is crucial, so I'm wondering if there's a reason why it's not visible.

Your work is greatly appreciated, and I'm looking forward to your insights on these observations! 🌟

Copy link
Contributor

@Devasy23 Devasy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It now works fine for me ;p

@srbhr
Copy link
Owner

srbhr commented Oct 7, 2023

@imhalcyon I need those resume jsons for the streamlit cloud file to run the demo properly.

@imhalcyon
Copy link
Contributor Author

@srbhr , sure. I've reverted that commit. Please check now.

@imhalcyon
Copy link
Contributor Author

Hello @srbhr , is this still being tested?

Copy link
Owner

@srbhr srbhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @imhalcyon changes are working smoothly.

@srbhr
Copy link
Owner

srbhr commented Oct 22, 2023

Changes look really cool.

ezgif-5-03a951ae7c

@srbhr srbhr merged commit e359e0a into srbhr:main Oct 22, 2023
@imhalcyon imhalcyon deleted the Feature/streamlit_interactive-v1.0 branch October 23, 2023 08:10
Devasy23 pushed a commit to Devasy23/Resume-Matcher that referenced this pull request Oct 24, 2023
* Initial commit

* Docs: ChatGPTd for comments and docstrings

* Fix: Type warning for title-font in  create_star_graph()

* Format: Re-formatted as per PEP 8

* UI: Move intro to sidebar

* UI: Remove footer links, add Back to Top link

* UI: Add columns for resume and job description upload

* Fix: header_image extension updated in script

* Update: streamlit upgraded to 1.27.0 & streamlit-extras upgrade to 0.3.2+htbuilder upgraded to 0.6.2

* Misc: Formatting

* UI: Add components for each column and add cleanup of processed files

* UI: Add Favicon file

* Fix: Updated syntax for string comparison

* Cleanup: Delete unnecessary files

* Fix: Remove dependency on run_first. Add dir delete function. Include icon in st.toast implementation.

* Ignore: Add /Data/Processed/* in gitignore

* UI: Add containers to fix columns together for each row

* Fix: Reference issue for resume key topics. Also add wide layout as default.

* Revert "Cleanup: Delete unnecessary files"

This reverts commit cf3f1c7.

---------

Co-authored-by: imhalcyon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants