Spaces:
Sleeping
Sleeping
Anushkabhat9
commited on
Update app.py
Browse files
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('%', ''))
|