Download handler.py from laol777/tst_resnet: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/laol777/tst_resnet/resolve/main/handler.py
- Command line
-
hf download hf://laol777/tst_resnet/handler.py
-
curl -L -o handler.py https://huggingface.co/laol777/tst_resnet/resolve/main/handler.py
195 Bytes
| from typing import Dict, List, Any | |
| class EndpointHandler(): | |
| def __init__(self, path=""): | |
| pass | |
| def __call__(self, data: Any) -> List[List[Dict[str, float]]]: | |
| return 42 | |