Download src/interface.py from UNIQ-DEV/Image-Classification-Benchmark: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/spaces/UNIQ-DEV/Image-Classification-Benchmark/resolve/a195da86eef6cfbb4f4e4c1e2e17bc6a5dded3d2/src/interface.py
- Command line
-
hf download hf://spaces/UNIQ-DEV/Image-Classification-Benchmark@a195da86eef6cfbb4f4e4c1e2e17bc6a5dded3d2/src/interface.py
-
curl -L -o interface.py https://huggingface.co/spaces/UNIQ-DEV/Image-Classification-Benchmark/resolve/a195da86eef6cfbb4f4e4c1e2e17bc6a5dded3d2/src/interface.py
248 Bytes
| from .data.classification_result import ClassificationResult | |
| from abc import ABC, abstractmethod | |
| from typing import List | |
| class ModelInterface(ABC): | |
| def classify_image(self, image) -> List[ClassificationResult]: | |
| pass |