AIEcosystem commited on
Commit
b22aae9
·
verified ·
1 Parent(s): e0cb688

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +22 -22
src/streamlit_app.py CHANGED
@@ -137,18 +137,18 @@ if not comet_initialized:
137
 
138
  # --- Label Definitions ---
139
  labels = [
140
- "Email_Address", "Phone_Number", "Street_Address", "City", "State", "Zip_code", "Country",
141
- "Date_of_Birth", "Gender", "Marital_Status", "Full_Name",
142
- "Full_Time", "Part_Time", "Contract", "Temporary", "Terminated", "Active", "Retired",
143
- "Job_Title", "Employment_Type", "Start_Date", "End_Date", "Company_Name", "Organization_Name", "Role", "Position",
144
- "Performance_Review", "Performance_Rating", "Performance_Score",
145
- "Sick_Days", "Vacation_Days", "Leave_of_Absence", "Holidays",
146
- "Pension", "Retirement_Plan", "Bonus", "Stock_Options", "Health_Insurance","Retire date",
147
- "Pay_Rate", "Hourly_Wage", "Annual_Salary", "Overtime_Pay",
148
- "Tax", "Social_Security", "Deductions",
149
- "Job_Posting", "Job_Description", "Interview_Type", "Applicant", "Candidate", "Referral", "Job_board", "Recruiter",
150
  "Contract", "Offer_letter", "Agreement",
151
- "Training_Course", "Certification", "Skill"]
152
 
153
 
154
 
@@ -157,19 +157,19 @@ labels = [
157
  category_mapping = {
158
 
159
 
160
- "Contact Information": ["Email_Address", "Phone_Number", "Street_Address", "City", "State", "Zip_code", "Country"],
161
- "Personal Details": ["Date of birth", "Gender", "Marital_Status", "Full_Name"],
162
- "Employment Status": ["Full_Time", "Part_Time", "Contract", "Temporary", "Terminated", "Active", "Retired"],
163
- "Employment Information" : ["Job_Title", "Employment_Type", "Start_Date", "End_Date", "Company_Name", "Organization_Name", "Role", "Position"],
164
 
165
- "Performance": ["Performance_Review", "Performance_Rating", "Performance_Score"],
166
- "Attendance": ["Sick_Days", "Vacation_Days", "Leave_of_Absence", "Holidays"],
167
- "Benefits": ["Pension", "Retirement_Plan", "Bonus", "Stock_Options", "Health_Insurance", "Retire date"],
168
- "Compensation": ["Pay_Rate", "Hourly_Wage", "Annual_Salary", "Overtime_Pay"],
169
- "Deductions": ["Tax", "Social_Security", "Deductions"],
170
- "Recruitment & Sourcing": ["Job_Posting", "Job_Description", "Interview_Type", "Applicant", "Candidate", "Referral", "Job_board", "Recruiter"],
171
  "Legal & Compliance": ["Contract", "Offer_letter", "Agreement"],
172
- "Professional_Development": ["Training_Course", "Certification", "Skill"]
173
  }
174
 
175
 
 
137
 
138
  # --- Label Definitions ---
139
  labels = [
140
+ "Email_address", "Phone_number", "Street_address", "City", "State", "Zip_code", "Country",
141
+ "Date_of_birth", "Gender", "Marital_status", "Full_name",
142
+ "Full_time", "Part_time", "Contract", "Temporary", "Terminated", "Active", "Retired",
143
+ "Job_title", "Employment_type", "Start_date", "End_date", "Company", "Organization", "Role", "Position",
144
+ "Performance_review", "Performance_rating", "Performance_score",
145
+ "Sick_days", "Vacation_days", "Leave_of_absence", "Holidays",
146
+ "Pension", "Retirement_plan", "Bonus", "Stock_options", "Health_insurance","Retire_date",
147
+ "Pay_rate", "Hourly_wage", "Annual_salary", "Overtime_pay",
148
+ "Tax", "Social_security", "Deductions",
149
+ "Job_posting", "Job_description", "Interview_type", "Applicant", "Candidate", "Referral", "Job_board", "Recruiter",
150
  "Contract", "Offer_letter", "Agreement",
151
+ "Training_course", "Certification", "Skill"]
152
 
153
 
154
 
 
157
  category_mapping = {
158
 
159
 
160
+ "Contact Information": ["Email_address", "Phone_number", "Street_address", "City", "State", "Zip_code", "Country"],
161
+ "Personal Details": ["Date_of_birth", "Gender", "Marital_status", "Full_name"],
162
+ "Employment Status": ["Full_time", "Part_time", "Contract", "Temporary", "Terminated", "Active", "Retired"],
163
+ "Employment Information" : ["Job_title", "Employment_type", "Start_date", "End_date", "Company", "Organization", "Role", "Position"],
164
 
165
+ "Performance": ["Performance_review", "Performance_rating", "Performance_score"],
166
+ "Attendance": ["Sick_days", "Vacation_days", "Leave_of_absence", "Holidays"],
167
+ "Benefits": ["Pension", "Retirement_plan", "Bonus", "Stock_options", "Health_insurance","Retire_date"],
168
+ "Compensation": ["Pay_rate", "Hourly_wage", "Annual_salary", "Overtime_pay"],
169
+ "Deductions": ["Tax", "Social_security", "Deductions"],
170
+ "Recruitment & Sourcing": ["Job_posting", "Job_description", "Interview_type", "Applicant", "Candidate", "Referral", "Job_board", "Recruiter"],
171
  "Legal & Compliance": ["Contract", "Offer_letter", "Agreement"],
172
+ "Professional_Development": ["Training_course", "Certification", "Skill"]
173
  }
174
 
175