ruv commited on
Commit
c4dd5c1
1 Parent(s): 4bb8dcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -9
app.py CHANGED
@@ -4,14 +4,16 @@ import pandas as pd
4
  # Demo Data
5
  employee_data = {
6
  "Name": ["Alice Smith", "Bob Johnson", "Charlie Davis"],
7
- "Role": ["Software Engineer", "Product Manager", "Data Scientist"],
8
  "Performance Score": [85, 90, 95],
9
- "Engagement Score": [88, 85, 92]
 
 
10
  }
11
 
12
  recruitment_data = {
13
  "Candidate Name": ["John Doe", "Jane Roe", "Jim Poe"],
14
- "Applied Position": ["DevOps Engineer", "UX Designer", "Backend Developer"],
15
  "Status": ["Interview Scheduled", "Under Review", "Offer Extended"]
16
  }
17
 
@@ -54,29 +56,44 @@ with gr.Blocks() as demo:
54
  gr.Markdown("### Performance Metrics")
55
  gr.DataFrame(value=employee_df[['Name', 'Performance Score']], label="Performance Data")
56
  gr.Markdown("### Performance Planning")
57
- gr.Markdown("- Setting SMART goals and regular performance reviews​``【oaicite:8】``​.")
 
 
58
 
59
  with gr.TabItem("Engagement and Sentiment Analysis"):
60
  gr.Markdown("## Engagement and Sentiment Analysis")
61
  gr.Markdown("### Engagement Scores")
62
  gr.DataFrame(value=employee_df[['Name', 'Engagement Score']], label="Engagement Data")
63
  gr.Markdown("### Sentiment Analysis")
64
- gr.Markdown("Analyze employee feedback to identify trends​``【oaicite:7】``​.")
65
 
66
  with gr.TabItem("Learning and Development"):
67
  gr.Markdown("## Learning and Development")
68
  gr.Markdown("### Personalized Learning Paths")
69
- gr.Markdown("- Alice Smith: Advanced Python Course")
70
- gr.Markdown("- Bob Johnson: Leadership Training")
71
- gr.Markdown("- Charlie Davis: Machine Learning Workshop")
72
  gr.Markdown("### Skill Gap Analysis")
73
  gr.Markdown("Identify and address skill gaps within the workforce.")
 
 
74
 
75
  with gr.TabItem("Admin and Compliance"):
76
  gr.Markdown("## Admin and Compliance")
77
  gr.Markdown("### Recent Activities")
78
  gr.Markdown("No recent activities.")
79
  gr.Markdown("### Compliance Checklist")
80
- gr.Markdown("- Adherence to employment standards, health and safety regulations, and human rights laws​``【oaicite:6】``​.")
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  demo.launch()
 
4
  # Demo Data
5
  employee_data = {
6
  "Name": ["Alice Smith", "Bob Johnson", "Charlie Davis"],
7
+ "Role": ["Case Worker", "Program Manager", "Data Analyst"],
8
  "Performance Score": [85, 90, 95],
9
+ "Engagement Score": [88, 85, 92],
10
+ "Years of Service": [3, 5, 2],
11
+ "Languages Spoken": ["English, Spanish", "English, French", "English, Mandarin"]
12
  }
13
 
14
  recruitment_data = {
15
  "Candidate Name": ["John Doe", "Jane Roe", "Jim Poe"],
16
+ "Applied Position": ["Community Outreach Coordinator", "Volunteer Coordinator", "Fundraising Specialist"],
17
  "Status": ["Interview Scheduled", "Under Review", "Offer Extended"]
18
  }
19
 
 
56
  gr.Markdown("### Performance Metrics")
57
  gr.DataFrame(value=employee_df[['Name', 'Performance Score']], label="Performance Data")
58
  gr.Markdown("### Performance Planning")
59
+ gr.Markdown("- Setting SMART goals and regular performance reviews​``【oaicite:2】``​.")
60
+ gr.Markdown("### Training and Development Plans")
61
+ gr.Markdown("Identify training needs and track progress on development plans.")
62
 
63
  with gr.TabItem("Engagement and Sentiment Analysis"):
64
  gr.Markdown("## Engagement and Sentiment Analysis")
65
  gr.Markdown("### Engagement Scores")
66
  gr.DataFrame(value=employee_df[['Name', 'Engagement Score']], label="Engagement Data")
67
  gr.Markdown("### Sentiment Analysis")
68
+ gr.Markdown("Analyze employee feedback to identify trends​``【oaicite:1】``​.")
69
 
70
  with gr.TabItem("Learning and Development"):
71
  gr.Markdown("## Learning and Development")
72
  gr.Markdown("### Personalized Learning Paths")
73
+ gr.Markdown("- Alice Smith: Advanced Case Management Training")
74
+ gr.Markdown("- Bob Johnson: Leadership and Management Training")
75
+ gr.Markdown("- Charlie Davis: Data Analytics and Reporting Workshop")
76
  gr.Markdown("### Skill Gap Analysis")
77
  gr.Markdown("Identify and address skill gaps within the workforce.")
78
+ gr.Markdown("### Language Training")
79
+ gr.Markdown("Offer language courses to enhance communication with diverse immigrant communities.")
80
 
81
  with gr.TabItem("Admin and Compliance"):
82
  gr.Markdown("## Admin and Compliance")
83
  gr.Markdown("### Recent Activities")
84
  gr.Markdown("No recent activities.")
85
  gr.Markdown("### Compliance Checklist")
86
+ gr.Markdown("- Adherence to employment standards, health and safety regulations, and human rights laws​``【oaicite:0】``​.")
87
+ gr.Markdown("### Documentation")
88
+ gr.Markdown("Ensure all employee and organizational documents are up-to-date and comply with regulations.")
89
+
90
+ with gr.TabItem("Programs and Initiatives"):
91
+ gr.Markdown("## Programs and Initiatives")
92
+ gr.Markdown("### Ongoing Projects")
93
+ gr.Markdown("- Community Outreach Program: Engaging local communities to support immigrants.")
94
+ gr.Markdown("- Volunteer Program: Coordinating volunteer efforts to assist with service delivery.")
95
+ gr.Markdown("- Fundraising Campaign: Raising funds to support organizational goals and services.")
96
+ gr.Markdown("### Success Stories")
97
+ gr.Markdown("Highlight success stories of immigrants who have benefited from the programs.")
98
 
99
  demo.launch()