KSAbbas commited on
Commit
5b91b6a
·
verified ·
1 Parent(s): 4806358

Upload 3 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Student-Employability-Datasets.xlsx filter=lfs diff=lfs merge=lfs -text
Student-Employability-Datasets.xlsx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b180ff29985362e242ff68e68b6046f6dc78a7e2cc85eae587ba43ff8bba44d
3
+ size 138468
app (1).py ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import pandas as pd
3
+
4
+ # Function to assess employability
5
+ def assess_employability(name, email, communication, problem_solving, teamwork, adaptability, appearance, speaking, alertness, presentation):
6
+ score = (communication + problem_solving + teamwork + adaptability + appearance + speaking + alertness + presentation) / 8
7
+
8
+ if score >= 7:
9
+ message = f" {name}, you're highly employable! Keep pushing forward! 🚀"
10
+ elif score >= 5:
11
+ message = f" {name}, you have potential! Work on improving and you'll be there soon! ✨"
12
+ else:
13
+ message = f" {name}, you might need to enhance your skills. Keep learning and improving! 📚"
14
+
15
+ return message
16
+
17
+ # Gradio UI
18
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
19
+ gr.Markdown("## **Employability Skill Checker** ")
20
+ gr.Markdown("### Drag the sliders to rate your skills!")
21
+
22
+ name = gr.Textbox(label="Enter Your Name", placeholder="Type your name here...")
23
+ email = gr.Textbox(label="Enter Your Email", placeholder="Type your email here...")
24
+
25
+ communication = gr.Slider(1, 10, label=" Communication Skills")
26
+ problem_solving = gr.Slider(1, 10, label=" Problem-Solving Skills")
27
+ teamwork = gr.Slider(1, 10, label=" Teamwork Ability")
28
+ adaptability = gr.Slider(1, 10, label=" Adaptability to Changes")
29
+ appearance = gr.Slider(1, 10, label=" General Appearance")
30
+ speaking = gr.Slider(1, 10, label="Manner of Speaking")
31
+ alertness = gr.Slider(1, 10, label=" Mental Alertness")
32
+ presentation = gr.Slider(1, 10, label=" Ability to Present Ideas")
33
+
34
+ submit_btn = gr.Button(" Check Employability ")
35
+ output = gr.Textbox(label="Result", interactive=False)
36
+
37
+ submit_btn.click(assess_employability, inputs=[name, email, communication, problem_solving, teamwork, adaptability, appearance, speaking, alertness, presentation], outputs=output)
38
+
39
+ # Launch the app
40
+ if __name__ == "__main__":
41
+ demo.launch()
42
+
requirements%20%281%29.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ gradio
2
+ pandas
3
+