to run use docker run -it -p 8000:8000 sperry1996/deepspeech which will run the rest api to port 8000.
send a wav or other audio file with http or curl with the following:
HTTP EXAMPLE
POST http://localhost:8000/audioFile/test
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="entities.csv"
Content-Type: application/x-protobuf
< ./testFiles/halt_on_the_way.wav
--WebAppBoundary--
CURL
curl --location --request POST 'localhost:8000/audioFile/test' \ --form 'file=@"path to file"'
Content type
Image
Digest
Size
1.4 GB
Last updated
almost 5 years ago
docker pull sperry1996/deepspeech:0.0.1