Spaces:
Sleeping
Sleeping
Download model/Course.py from garizz/class-scheduling: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/garizz/class-scheduling/resolve/main/model/Course.py
- Command line
-
hf download hf://spaces/garizz/class-scheduling/model/Course.py
-
curl -L -o Course.py https://huggingface.co/spaces/garizz/class-scheduling/resolve/main/model/Course.py
280 Bytes
| # Stores data about course | |
| class Course: | |
| # Initializes course | |
| def __init__(self, id, name): | |
| # Returns course ID | |
| self.Id = id | |
| # Returns course name | |
| self.Name = name | |