Update app.py
Browse files
app.py
CHANGED
|
@@ -62,3 +62,35 @@ demo = gr.ChatInterface(
|
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
demo.launch()
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
class Humanities2025:
|
| 68 |
+
def __init__(self):
|
| 69 |
+
self.instructor = "Mr. B"
|
| 70 |
+
self.class_pet = "Cosmo 🐶"
|
| 71 |
+
self.email_limit = 5
|
| 72 |
+
self.allow_late_work = False
|
| 73 |
+
self.canvas_notifications_required = True
|
| 74 |
+
self.ai_use_policy = {
|
| 75 |
+
"emails": True,
|
| 76 |
+
"exams": False,
|
| 77 |
+
"assignments": "≤5% AI content allowed"
|
| 78 |
+
}
|
| 79 |
+
self.exam_policy = {
|
| 80 |
+
"attempts": 1,
|
| 81 |
+
"makeups": False,
|
| 82 |
+
"cheating_consequence": "RD - Report Delayed"
|
| 83 |
+
}
|
| 84 |
+
self.assignment_submission = "Turnitin Only"
|
| 85 |
+
self.app = "Classroom Companion (Cosmo)"
|
| 86 |
+
|
| 87 |
+
def email_guidelines(self):
|
| 88 |
+
print("Emails must be grammatically correct, detailed, and under 5 per semester.")
|
| 89 |
+
|
| 90 |
+
def cheating_policy(self):
|
| 91 |
+
print("Cheating = Academic Misconduct Report + Potential RD Grade.")
|
| 92 |
+
|
| 93 |
+
def class_tools(self):
|
| 94 |
+
return ["Canvas App", "Classroom Companion App", "Turnitin"]
|
| 95 |
+
|
| 96 |
+
|