AIEcosystem commited on
Commit
0cc5322
·
verified ·
1 Parent(s): d4afed6

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -4
src/streamlit_app.py CHANGED
@@ -74,8 +74,8 @@ st.link_button("by nlpblogs", "https://nlpblogs.com", type="tertiary")
74
 
75
  expander = st.expander("**Important notes on the Human Resources**")
76
  expander.write("""
77
- **Named Entities:** This HR.ai predicts twenty-four (24) labels:
78
- "Email_address", "Phone_number", "Street_address", "City", "State", "Zip_code",
79
  "Date_of_birth", "Gender", "Marital_status", "Full_name",
80
  "Full_time", "Part_time", "Contract", "Temporary", "Terminated", "Active", "Retired",
81
  "Job_title", "Employment_type", "Start_date", "End_date", "Company", "Organization", "Role", "Position",
@@ -137,7 +137,7 @@ if not comet_initialized:
137
 
138
  # --- Label Definitions ---
139
  labels = [
140
- "Email_Address", "Phone_Number", "Street_Address", "City", "State", "Zip_code",
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",
@@ -157,7 +157,7 @@ labels = [
157
  category_mapping = {
158
 
159
 
160
- "Contact Information": ["Email_Address", "Phone_Number", "Street_Address", "City", "State", "Zip_code"],
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"],
 
74
 
75
  expander = st.expander("**Important notes on the Human Resources**")
76
  expander.write("""
77
+ **Named Entities:** This HR.ai predicts sixty (60) labels:
78
+ "Email_address", "Phone_number", "Street_address", "City", "State", "Zip_code", "Country",
79
  "Date_of_birth", "Gender", "Marital_status", "Full_name",
80
  "Full_time", "Part_time", "Contract", "Temporary", "Terminated", "Active", "Retired",
81
  "Job_title", "Employment_type", "Start_date", "End_date", "Company", "Organization", "Role", "Position",
 
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",
 
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"],