Skip to content

hscspring/audio_stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AudioStream

服务端:

uvicorn main:app

客户端:

curl -X POST "http://127.0.0.1:8000/audio_stream" \
-H "Content-Type: application/json" \
-d '{
  "output_format": "mp3"
}' --output output_audio.mp3


curl -X POST "http://127.0.0.1:8000/audio_stream" \
-H "Content-Type: application/json" \
-d '{
  "output_format": "wav"
}' --output output_audio.wav

注:音频文件来自wenet

Releases

No releases published

Packages

No packages published

Languages