Spaces:
Sleeping
Sleeping
Download algorithm/product.py from valenynl/ReceiptSplitAI: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/valenynl/ReceiptSplitAI/resolve/main/algorithm/product.py
- Command line
-
hf download hf://spaces/valenynl/ReceiptSplitAI/algorithm/product.py
-
curl -L -o product.py https://huggingface.co/spaces/valenynl/ReceiptSplitAI/resolve/main/algorithm/product.py
193 Bytes
| class Product: | |
| def __init__(self, name, price): | |
| self.name = name | |
| self.price = price | |
| def __repr__(self): | |
| return f"Product(name={self.name}, price={self.price})" | |