Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -129,19 +129,34 @@ def response(user_query):
|
|
129 |
|
130 |
desc="""
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
-
Student Table:
|
134 |
-
student_id, first_name, last_name, date_of_birth, email, phone_number, major, year_of_enrollment.
|
135 |
|
136 |
|
137 |
|
138 |
-
Employee Table:
|
139 |
-
employee_id, first_name, last_name, email, department, position, salary, date_of_joining.
|
140 |
|
141 |
|
142 |
|
143 |
-
Course Info Table:
|
144 |
-
course_id, course_name, course_code, instructor_id, department, credits, semester.
|
145 |
"""
|
146 |
|
147 |
demo = gr.Interface(
|
|
|
129 |
|
130 |
desc="""
|
131 |
|
132 |
+
There are three tables in the database:
|
133 |
+
|
134 |
+
|
135 |
+
Student Table:
|
136 |
+
The table contains the student's unique ID, first name, last name, date of birth, email address, phone number, major field of study, and year of enrollment.
|
137 |
+
|
138 |
+
|
139 |
+
Employee Table:
|
140 |
+
The table includes the employee's unique ID, first name, last name, email address, department, job position, salary, and date of joining.
|
141 |
+
|
142 |
+
|
143 |
+
Course Info Table:
|
144 |
+
The table holds information about the course's unique ID, name, course code, instructor ID, department offering the course, number of credits, and the semester in which the course is offered.
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
|
|
|
|
|
154 |
|
155 |
|
156 |
|
|
|
|
|
157 |
|
158 |
|
159 |
|
|
|
|
|
160 |
"""
|
161 |
|
162 |
demo = gr.Interface(
|