Spaces:
Paused
Paused
Download app/reverse_search/base.py from rishik1111/faceid: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/spaces/rishik1111/faceid/resolve/main/app/reverse_search/base.py
- Command line
-
hf download hf://spaces/rishik1111/faceid/app/reverse_search/base.py
-
curl -L -o base.py https://huggingface.co/spaces/rishik1111/faceid/resolve/main/app/reverse_search/base.py
239 Bytes
| from abc import ABC, abstractmethod | |
| from pathlib import Path | |
| class ReverseImageSearchProvider(ABC): | |
| name = "base" | |
| def search(self, image_path: Path, max_results: int = None): | |
| raise NotImplementedError | |