Download test_handler.py from byanzene/indic_trans_sample: direct link, hf CLI and curl.
- Browser
- Download file 128 Bytes
-
https://huggingface.co/byanzene/indic_trans_sample/resolve/main/test_handler.py
- Command line
-
hf download hf://byanzene/indic_trans_sample/test_handler.py
-
curl -L -o test_handler.py https://huggingface.co/byanzene/indic_trans_sample/resolve/main/test_handler.py
128 Bytes
| from handler import EndpointHandler | |
| handler = EndpointHandler(path=".") | |
| value = handler({"input": "something"}) | |
| print(value) |