asl-cnn-endpoint / README.md
duashmi's picture
Upload 5 files
d6637ea verified
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: PyTorch state_dict (uploaded from your local file)
  • handler.py: loads the model and runs preprocessing + inference
  • labels.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.