Download src/datacollection/design_object_model.py from readylab/VizRef: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/spaces/readylab/VizRef/resolve/main/src/datacollection/design_object_model.py
- Command line
-
hf download hf://spaces/readylab/VizRef/src/datacollection/design_object_model.py
-
curl -L -o design_object_model.py https://huggingface.co/spaces/readylab/VizRef/resolve/main/src/datacollection/design_object_model.py
398 Bytes
| from dataclasses import dataclass | |
| from typing import Optional, List | |
| class DesignObject: | |
| name: str | |
| year: str | |
| classification: str | |
| dimension: str | |
| makers: List[str] | |
| image_urls: List[str] | |
| country: str | |
| price: Optional[str] = None # Not available in API | |
| popularity: Optional[str] = None # Not available in API | |
| source: Optional[str] = None |