omarkashif commited on
Commit
71737df
·
verified ·
1 Parent(s): 3cd1b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
 
7
  class AttendanceTracker:
8
  def __init__(self, dataset_id, repo_id):
9
- self.courses = ["AI", "DS", "ML"]
10
  self.dataset_id = dataset_id
11
  self.repo_id = repo_id
12
  self.token = HfFolder.get_token()
@@ -100,7 +100,7 @@ def upload_and_mark(file, course):
100
 
101
  iface = gr.Interface(
102
  fn=upload_and_mark,
103
- inputs=[gr.File(label="Upload Attendance File (CSV)"), gr.Dropdown(choices=["AI", "DS", "ML"], label="Select Course")],
104
  outputs=gr.Textbox(label="Status"),
105
  title="Attendance Tracker",
106
  description="Upload a CSV file of today's attendance to update the attendance file for the selected course."
 
6
 
7
  class AttendanceTracker:
8
  def __init__(self, dataset_id, repo_id):
9
+ self.courses = ["AI", "DS", "ML","DA Gray","DA Black","DA White","DS6","DS7 Blue","DS7 Green"]
10
  self.dataset_id = dataset_id
11
  self.repo_id = repo_id
12
  self.token = HfFolder.get_token()
 
100
 
101
  iface = gr.Interface(
102
  fn=upload_and_mark,
103
+ inputs=[gr.File(label="Upload Attendance File (CSV)"), gr.Dropdown(choices=["AI", "DS", "ML","DA Gray","DA Black","DA White","DS6","DS7 Blue","DS7 Green"], label="Select Course")],
104
  outputs=gr.Textbox(label="Status"),
105
  title="Attendance Tracker",
106
  description="Upload a CSV file of today's attendance to update the attendance file for the selected course."