Views
No views yet
lasr_ctc architecture used by MedASR. This repo provides a custom handler.py and requirements.txt that installs the correct version.CleansheetLLC/medasrgoogle/medasr at runtime (no need to copy them)CleansheetLLC/medasr
requirements.txt, then load handler.py1# Health check
2curl -s https://YOUR_ENDPOINT.endpoints.huggingface.cloud \
3 -H "Authorization: Bearer $HF_TOKEN"
4
5# Transcribe audio (WAV, 16kHz mono)
6curl -X POST https://YOUR_ENDPOINT.endpoints.huggingface.cloud \
7 -H "Authorization: Bearer $HF_TOKEN" \
8 -H "Content-Type: audio/wav" \
9 --data-binary @audio.wav{"text": "patient presents with chest pain radiating to the left arm"}