Anushkabhat9 commited on
Commit
898f436
·
verified ·
1 Parent(s): c77ff37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -150,6 +150,7 @@ with col2:
150
 
151
  def get_score(resume_path, job_description_path):
152
  similarity_score = similarity_main(resume_path, job_description_path)
 
153
  pie_colors = ['#E5E5E5', '#E5E5E5']
154
  if isinstance(similarity_score, str) and '%' in similarity_score:
155
  similarity_score = float(similarity_score.replace('%', ''))
 
150
 
151
  def get_score(resume_path, job_description_path):
152
  similarity_score = similarity_main(resume_path, job_description_path)
153
+ similarity_score=similarity_score['score']
154
  pie_colors = ['#E5E5E5', '#E5E5E5']
155
  if isinstance(similarity_score, str) and '%' in similarity_score:
156
  similarity_score = float(similarity_score.replace('%', ''))