Hemg commited on
Commit
3f85a10
·
verified ·
1 Parent(s): 451e4ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -76,7 +76,7 @@ iface = gr.Interface(
76
  inputs=[
77
  gr.Radio(["Kathmandu", "Bhaktapur", "Lalitpur", "Kritipur"], label="Location"),
78
  gr.Slider(minimum=1000000, maximum=1700000, label="College Fee"),
79
- gr.Slider(minimum=2, maximum=3, label="GPA"), # Fixed GPA input
80
  gr.Slider(minimum=2019, maximum=2025, step=1, label="Year"),
81
  gr.Radio(["MSc IT & Applied Security", "BSc (Hons) Computing", "BSc (Hons) Computing with Artificial Intelligence",
82
  "BSc (Hons) Computer Networking & IT Security", "BSc (Hons) Multimedia Technologies", "MBA",
@@ -85,12 +85,11 @@ iface = gr.Interface(
85
  gr.Radio(["Event", "Facebook", "Instagram", "Offline", "Recommendation"], label="Source"),
86
  gr.Radio(["Yes", "No"], label="visited_college_for_inquery_only"),
87
  gr.Radio(["New Year", "Dashain", "Orientation", "Fresher's Party", "Holi Festival", "Welcome Ceremony"],
88
- label="attended_event_name"), # Changed from Slider to Radio
89
- gr.Radio(["Yes", "No"], label="attended_any_event"),
90
  gr.Radio(["Trinity", "CCRC", "KMC", "SOS", "ISMT", "St. Xavier's", "Everest", "Prime"], label="College"),
91
  gr.Radio(["Ram", "Gita", "Manish", "Shyam", "Raj", "Hari", "Rina", "Shree"], label="Presenter"),
92
- gr.Radio(["Yes", "No"], label="visited_with_parents") ["Trinity", "CCRC", "KMC", "SOS", "ISMT", "St. Xavier's", "Everest", "Prime"]
93
-
94
  ],
95
  outputs="text",
96
  title="chances of student admission",
 
76
  inputs=[
77
  gr.Radio(["Kathmandu", "Bhaktapur", "Lalitpur", "Kritipur"], label="Location"),
78
  gr.Slider(minimum=1000000, maximum=1700000, label="College Fee"),
79
+ gr.Slider(minimum=2, maximum=3, label="GPA"),
80
  gr.Slider(minimum=2019, maximum=2025, step=1, label="Year"),
81
  gr.Radio(["MSc IT & Applied Security", "BSc (Hons) Computing", "BSc (Hons) Computing with Artificial Intelligence",
82
  "BSc (Hons) Computer Networking & IT Security", "BSc (Hons) Multimedia Technologies", "MBA",
 
85
  gr.Radio(["Event", "Facebook", "Instagram", "Offline", "Recommendation"], label="Source"),
86
  gr.Radio(["Yes", "No"], label="visited_college_for_inquery_only"),
87
  gr.Radio(["New Year", "Dashain", "Orientation", "Fresher's Party", "Holi Festival", "Welcome Ceremony"],
88
+ label="attended_event_name"),
89
+ gr.Radio(["Yes", "No"], label="attended_any_event"),
90
  gr.Radio(["Trinity", "CCRC", "KMC", "SOS", "ISMT", "St. Xavier's", "Everest", "Prime"], label="College"),
91
  gr.Radio(["Ram", "Gita", "Manish", "Shyam", "Raj", "Hari", "Rina", "Shree"], label="Presenter"),
92
+ gr.Radio(["Yes", "No"], label="visited_with_parents") # Removed the incorrect list here
 
93
  ],
94
  outputs="text",
95
  title="chances of student admission",