Hari-Prasath-M91 commited on
Commit
c0ca1ad
·
1 Parent(s): 359d748
Files changed (1) hide show
  1. app.py +1 -1
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: int = 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.")
 
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.")