Download handler.py from Leches33/AI: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/Leches33/AI/resolve/main/handler.py
- Command line
-
hf download hf://Leches33/AI/handler.py
-
curl -L -o handler.py https://huggingface.co/Leches33/AI/resolve/main/handler.py
202 Bytes
| class EndpointHandler: | |
| def __init__(self, path=""): | |
| # No cargamos nada para probar | |
| pass | |
| def __call__(self, data): | |
| return [{"generated_text": "API FUNCIONANDO"}] | |