Name | API | Method | Func | State |
---|---|---|---|---|
asr | /api/audio | get | test | ✅ |
... | /api/audio/ | post | audio->text | ✅ |
Build image by yourself
docker build -t easy_asr .
docker run -d -p 61111:81 easy_asr
Or just simply copy code below
docker run -d -p 61111:81 tianrking/fastapi_asr:v0.2
git clone https://github.com/deepdialog/easy_asr
sudo apt-get update && sudo apt-get install python3 python3-pip
pip install -r requirements.txt
uvicorn app.fat_test:app --reload --host 0.0.0.0 --port 61112
Then the server is running on localhost:61112
- curl -X GET "127.0.0.1:61111//api/audio"
- POST method need a ".slk" like file ( wechat audio type ) , I build a demo in test directory just python3 post.py or node post.js
** More audio formats will be supported