Skip to content

deepdialog/easy_asr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy_asr

Name API Method Func State
asr /api/audio get test
... /api/audio/ post audio->text

Deploy

Way 1 Docker

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

Way 2 Clone code run on localhost

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

Server test

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published