ak0601 commited on
Commit
e3f9d15
·
verified ·
1 Parent(s): 2ffe2f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -323,7 +323,7 @@ def fetch_job_by_id(job_id: str) -> Job:
323
  description=str(job_row.iloc[0]['description']) if pd.notna(job_row.iloc[0]['description']) else None,
324
  company_size=str(job_row.iloc[0]['company_size']) if pd.notna(job_row.iloc[0]['company_size']) else None,
325
  requirements=str(job_row.iloc[0]['requirements']) if pd.notna(job_row.iloc[0]['requirements']) else None,
326
- salary=str(job_row.iloc[0]['salary']) if pd.notna(job_row.iloc[0]['salary']) else None
327
  )
328
 
329
  except HTTPException:
@@ -1031,7 +1031,7 @@ Requirements:
1031
  - Role title
1032
  - Work location (onsite/hybrid/remote)
1033
  - Company mission (in emails 2 and 3)
1034
- - Salary information (if available, in all the emails)
1035
  - His/Her responsibilities in the company
1036
 
1037
  6. **CALL-TO-ACTION:** Each email must end with the CTA (before the signature): "If you're interested, send me your updated CV, salary expectations, and I'll get your application in front of the hiring manager ASAP."
 
323
  description=str(job_row.iloc[0]['description']) if pd.notna(job_row.iloc[0]['description']) else None,
324
  company_size=str(job_row.iloc[0]['company_size']) if pd.notna(job_row.iloc[0]['company_size']) else None,
325
  requirements=str(job_row.iloc[0]['requirements']) if pd.notna(job_row.iloc[0]['requirements']) else None,
326
+ salary=str(job_row.iloc[0]['compensation_benefits']) if pd.notna(job_row.iloc[0]['compensation_benefits']) else None
327
  )
328
 
329
  except HTTPException:
 
1031
  - Role title
1032
  - Work location (onsite/hybrid/remote)
1033
  - Company mission (in emails 2 and 3)
1034
+ - Salary information or Compensation (if available, in all the emails)
1035
  - His/Her responsibilities in the company
1036
 
1037
  6. **CALL-TO-ACTION:** Each email must end with the CTA (before the signature): "If you're interested, send me your updated CV, salary expectations, and I'll get your application in front of the hiring manager ASAP."