Download classes.py from ZoqiAndrewSeniorProject/TrainingCourseGen: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/spaces/ZoqiAndrewSeniorProject/TrainingCourseGen/resolve/27ab1be96aa482dfd461fd96a4fa6083b0957f32/classes.py
- Command line
-
hf download hf://spaces/ZoqiAndrewSeniorProject/TrainingCourseGen@27ab1be96aa482dfd461fd96a4fa6083b0957f32/classes.py
-
curl -L -o classes.py https://huggingface.co/spaces/ZoqiAndrewSeniorProject/TrainingCourseGen/resolve/27ab1be96aa482dfd461fd96a4fa6083b0957f32/classes.py
628 Bytes
| from pydantic import BaseModel | |
| from typing import List, Optional | |
| from enum import Enum | |
| class FeatureEnum(str, Enum): | |
| video = "video" | |
| image = "image" | |
| interactive = "interactive" | |
| class Module(BaseModel): | |
| name: str | |
| duration: str | |
| subtopics: List[str] | |
| features: List[FeatureEnum] | |
| class CourseOutline(BaseModel): | |
| title: str | |
| objectives: List[str] | |
| duration: str | |
| modules: List[Module] | |
| summary: str | |
| class ModuleContent(BaseModel): | |
| title: str | |
| estimated_reading_time: str | |
| introduction: str | |
| key_concepts: List[str] | |
| explanation: str | |
| examples: str | |
| summary: str |