Hemg commited on
Commit
1f98085
·
verified ·
1 Parent(s): 14b0395

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -72,22 +72,22 @@ def predict_performance(Location, College_Fee, College, GPA, Year, Course_Intere
72
  iface = gr.Interface(
73
  fn=predict_performance,
74
  inputs=[
75
- gr.Radio(["Kathmandu", "Bhaktapur", "Lalitpur", "Kritipur"], label="Location"),
76
- gr.Slider(minimum=1000000, maximum=1700000,step=100000,label="College Fee"),
77
  gr.Radio(["Trinity", "CCRC", "KMC", "SOS", "ISMT", "St. Xavier's", "Everest", "Prime"], label="College"),
78
- gr.Slider(minimum=2, maximum=3, label="GPA"),
79
- gr.Slider(minimum=2024, maximum=2024, step=1, label="Year"),
80
  gr.Radio(["MSc IT & Applied Security", "BSc (Hons) Computing", "BSc (Hons) Computing with Artificial Intelligence",
81
  "BSc (Hons) Computer Networking & IT Security", "BSc (Hons) Multimedia Technologies", "MBA",
82
- "BA (Hons) Accounting & Finance", "BA (Hons) Business Administration"], label="Course_Interested"),
83
- gr.Radio(["Science", "Management", "Humanities"], label="Faculty"),
84
- gr.Radio(["Event", "Facebook", "Instagram", "Offline", "Recommendation"], label="Source"),
85
  gr.Radio(["Yes", "No"], label="visited_college_for_inquery_only"),
 
86
  gr.Radio(["New Year", "Dashain", "Orientation", "Fresher's Party", "Holi Festival", "Welcome Ceremony"],
87
- label="attended_event_name"),
88
- gr.Radio(["Yes", "No"], label="attended_any_event"),
89
- gr.Radio(["Ram", "Gita", "Manish", "Shyam", "Raj", "Hari", "Rina", "Shree"], label="Presenter"),
90
- gr.Radio(["Yes", "No"], label="visited_with_parents")
91
  ],
92
  outputs="text",
93
  title="Student Admission Prediction",
 
72
  iface = gr.Interface(
73
  fn=predict_performance,
74
  inputs=[
75
+ gr.Radio(["Kathmandu", "Bhaktapur", "Lalitpur", "Kritipur"], label="Location",info="What is your current location?") ),
76
+ gr.Slider(minimum=1000000, maximum=1700000,step=100000,label="College Fee", info="the bachelor fee for the course you want to enroll?"),
77
  gr.Radio(["Trinity", "CCRC", "KMC", "SOS", "ISMT", "St. Xavier's", "Everest", "Prime"], label="College"),
78
+ gr.Slider(minimum=2, maximum=3, label="GPA", info=What is your GPA (Grade Point Average) of +2 ?),
79
+ gr.Slider(minimum=2024, maximum=2024, step=1, label="Year", info="What is your intended year of admission?"),
80
  gr.Radio(["MSc IT & Applied Security", "BSc (Hons) Computing", "BSc (Hons) Computing with Artificial Intelligence",
81
  "BSc (Hons) Computer Networking & IT Security", "BSc (Hons) Multimedia Technologies", "MBA",
82
+ "BA (Hons) Accounting & Finance", "BA (Hons) Business Administration"], label="Course_Interested", info="Which course are you most interested in?"),
83
+ gr.Radio(["Science", "Management", "Humanities"], label="Faculty", info="what is your last stream ?"),
84
+ gr.Radio(["Event", "Facebook", "Instagram", "Offline", "Recommendation"], label="Source",info="How did you first hear about this college?"),
85
  gr.Radio(["Yes", "No"], label="visited_college_for_inquery_only"),
86
+ gr.Radio(["Yes", "No"], label="attended_any_event", info="Have you attended any events organized by the college you're interested in?"),
87
  gr.Radio(["New Year", "Dashain", "Orientation", "Fresher's Party", "Holi Festival", "Welcome Ceremony"],
88
+ label="attended_event_name", info="If yes, which events did you attend?" ],
89
+ gr.Radio(["Ram", "Gita", "Manish", "Shyam", "Raj", "Hari", "Rina", "Shree"], label="Presenter", info="who is the counser that help you while in counseling?"),
90
+ gr.Radio(["Yes", "No"], label="visited_with_parents", info="Did you visit the college with your parents?")
 
91
  ],
92
  outputs="text",
93
  title="Student Admission Prediction",