metadata
library_name: pytorch
tags:
- inference-endpoints
- custom-handler
- image-classification
ASL CNN (custom handler)
This repo is designed to deploy a small PyTorch CNN for ASL classification on Hugging Face Inference Endpoints using a handler.py custom inference handler.
Files
pytorch_model.bin: PyTorchstate_dict(uploaded from your local file)handler.py: loads the model and runs preprocessing + inferencelabels.json: optional label names (edit if your class order is different)requirements.txt: extra dependencies
Request format
Send JSON with base64-encoded image bytes:
{ "inputs": "<base64>" }
Or set parameters.top_k.