Spaces:
Sleeping
Sleeping
Update utils/mistral.py
Browse files- utils/mistral.py +2 -2
utils/mistral.py
CHANGED
|
@@ -441,7 +441,7 @@ def process_resume_data(file_path):
|
|
| 441 |
"location": normalize_data(per_data.get('personal', {}).get('address', None)),
|
| 442 |
"linkedin": normalize_data(linkedin_links),
|
| 443 |
"github": normalize_data(github_links),
|
| 444 |
-
"other_links": hyperlinks
|
| 445 |
},
|
| 446 |
"professional": {
|
| 447 |
"technical_skills": normalize_data(pro_data.get('professional', {}).get('technical_skills', None)),
|
|
@@ -471,7 +471,7 @@ def process_resume_data(file_path):
|
|
| 471 |
|
| 472 |
#Appending the list if any available as a text
|
| 473 |
if result['personal']['other_links'] is not None:
|
| 474 |
-
result['personal']['other_links'] +=
|
| 475 |
|
| 476 |
#Added the validator for details, Validate contact and email
|
| 477 |
#valid_contact, invalid_contact, valid_email, invalid_email = validate_contact_email(result['personal'])
|
|
|
|
| 441 |
"location": normalize_data(per_data.get('personal', {}).get('address', None)),
|
| 442 |
"linkedin": normalize_data(linkedin_links),
|
| 443 |
"github": normalize_data(github_links),
|
| 444 |
+
"other_links": normalize_data(hyperlinks)
|
| 445 |
},
|
| 446 |
"professional": {
|
| 447 |
"technical_skills": normalize_data(pro_data.get('professional', {}).get('technical_skills', None)),
|
|
|
|
| 471 |
|
| 472 |
#Appending the list if any available as a text
|
| 473 |
if result['personal']['other_links'] is not None:
|
| 474 |
+
result['personal']['other_links'] += links
|
| 475 |
|
| 476 |
#Added the validator for details, Validate contact and email
|
| 477 |
#valid_contact, invalid_contact, valid_email, invalid_email = validate_contact_email(result['personal'])
|