markobinario commited on
Commit
2a8adba
·
verified ·
1 Parent(s): 3d0f15e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +45 -31
app.py CHANGED
@@ -123,28 +123,24 @@ with gr.Blocks(
123
  with gr.Column(scale=2):
124
  gr.Markdown("### 📝 Student Profile")
125
 
126
- stanine_input = gr.Slider(
127
- minimum=1,
128
- maximum=9,
129
- step=1,
130
- value=5,
131
- label="Stanine Score (1-9)",
132
  info="Your stanine score from standardized tests"
133
  )
134
-
135
- gwa_input = gr.Slider(
136
- minimum=75,
137
- maximum=100,
138
- step=0.1,
139
- value=85,
140
  label="GWA (75-100)",
 
141
  info="Your General Weighted Average"
142
  )
143
 
144
  strand_input = gr.Dropdown(
145
- choices=["STEM", "ABM", "HUMSS"],
146
  label="Senior High School Strand",
147
- info="Select your SHS strand"
148
  )
149
 
150
  hobbies_input = gr.Textbox(
@@ -166,24 +162,42 @@ with gr.Blocks(
166
  gr.Markdown("### 📚 Available Courses")
167
  gr.Markdown(
168
  """
169
- **STEM Courses:**
170
- - BSCS: Bachelor of Science in Computer Science
171
- - BSIT: Bachelor of Science in Information Technology
172
- - BSArch: Bachelor of Science in Architecture
173
- - BSIE: Bachelor of Science in Industrial Engineering
174
- - BSN: Bachelor of Science in Nursing
175
-
176
- **ABM Courses:**
177
- - BSBA: Bachelor of Science in Business Administration
178
- - BSA: Bachelor of Science in Accountancy
179
-
180
- **HUMSS Courses:**
181
- - BSED: Bachelor of Science in Education
182
- - BSPsych: Bachelor of Science in Psychology
183
-
184
- **Other Courses:**
185
  - BSHM: Bachelor of Science in Hospitality Management
186
- - BSAgri: Bachelor of Science in Agriculture
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  """
188
  )
189
 
 
123
  with gr.Column(scale=2):
124
  gr.Markdown("### 📝 Student Profile")
125
 
126
+ stanine_input = gr.Textbox(
127
+ value="5",
128
+ label="Stanine (1-9)",
129
+ placeholder="Enter a number between 1 and 9",
 
 
130
  info="Your stanine score from standardized tests"
131
  )
132
+
133
+ gwa_input = gr.Textbox(
134
+ value="85",
 
 
 
135
  label="GWA (75-100)",
136
+ placeholder="Enter a number between 75 and 100",
137
  info="Your General Weighted Average"
138
  )
139
 
140
  strand_input = gr.Dropdown(
141
+ choices=["STEM", "ABM", "HUMSS", "GAS", "TVL"],
142
  label="Senior High School Strand",
143
+ info="Select your SHS strand (TVL uses hobbies to infer track)"
144
  )
145
 
146
  hobbies_input = gr.Textbox(
 
162
  gr.Markdown("### 📚 Available Courses")
163
  gr.Markdown(
164
  """
165
+ **CASTECH**
166
+ - BSA: Bachelor of Science in Agriculture
167
+ - BSFish: Bachelor of Science in Fisheries
168
+ - BSFoodTech: Bachelor of Science in Food Technology
169
+
170
+ **CFA**
171
+ - BSFo: Bachelor of Science in Forestry
172
+ - BSAgFo: Bachelor of Science in Agroforestry
173
+
174
+ **CBEE**
 
 
 
 
 
 
175
  - BSHM: Bachelor of Science in Hospitality Management
176
+ - BSEntrep: Bachelor of Science in Entrepreneurship
177
+ - BSAgribus: Bachelor of Science in Agriculture Business
178
+ - BSAgEcon: Bachelor of Science in Agricultural Economics
179
+
180
+ **CAS**
181
+ - BSBio: Bachelor of Science in Biology
182
+ - BSMath: Bachelor of Science in Mathematics
183
+ - BAELS: Bachelor of Arts in English Language Studies
184
+ - BSDevComm: Bachelor of Science in Development Communication
185
+
186
+ **COECS**
187
+ - BSABE: Agricultural and Biosystems Engineering
188
+ - BSGE: Geodetic Engineering
189
+ - BSCE: Civil Engineering
190
+ - BSCpE: Computer Engineering
191
+ - BSIT: Information Technology
192
+
193
+ **COED**
194
+ - BTLEd: Technology and Livelihood Education
195
+ - BSED: Secondary Education
196
+ - BEED: Elementary Education
197
+ - BPE: Physical Education
198
+
199
+ **CVM**
200
+ - DVM: Doctor of Veterinary Medicine
201
  """
202
  )
203