Spaces:
Sleeping
Sleeping
Download book.py from lemosryan007/deep_research: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/book.py
- Command line
-
hf download hf://spaces/lemosryan007/deep_research/book.py
-
curl -L -o book.py https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/book.py
270 Bytes
| class Book: | |
| def __init__(self, title, author): | |
| self.title = title | |
| self.author = author | |
| def summary(self): | |
| print(f"The book title is {self.title} and the author is {self.author}") | |
| book1 = Book("AI for dummies", "Ryan Lemos") | |
| book1.summary() | |