Commit
·
c0ca1ad
1
Parent(s):
359d748
modified
Browse files
app.py
CHANGED
|
@@ -1257,7 +1257,7 @@ def testscheduler(
|
|
| 1257 |
class Task(BaseModel):
|
| 1258 |
chapter: str = Field(..., description="The chapter associated with this task.")
|
| 1259 |
description: str = Field(..., description="A brief explanation of what needs to be done.")
|
| 1260 |
-
estimated_time:
|
| 1261 |
|
| 1262 |
class SubjectTasks(BaseModel):
|
| 1263 |
subject: Literal["Physics", "Chemistry", "Maths"] = Field(..., description="The subject the tasks belong to.")
|
|
|
|
| 1257 |
class Task(BaseModel):
|
| 1258 |
chapter: str = Field(..., description="The chapter associated with this task.")
|
| 1259 |
description: str = Field(..., description="A brief explanation of what needs to be done.")
|
| 1260 |
+
estimated_time: float = Field(..., description="Estimated time in hours to complete the task.")
|
| 1261 |
|
| 1262 |
class SubjectTasks(BaseModel):
|
| 1263 |
subject: Literal["Physics", "Chemistry", "Maths"] = Field(..., description="The subject the tasks belong to.")
|