Commit History
-
Add HF Inference API handler + model test frontend
AKSHAY BIRADAR- inference.py: custom handler for HF Inference API - Loads best_model.pt, runs WavLM+DistilBERT+BiLSTM forward pass - Accepts text (required) + base64 audio (optional) - Returns {repetition, confusion, distress, topic_switch} probabilities - README.md: add inference:true tag, API usage examples (JS + Python) - Frontend test page created at deploy/test_classifier.html60e735c