Update: 更新板卡examples

This commit is contained in:
王立帮
2024-07-23 21:49:42 +08:00
parent 43caecbae6
commit a499290f0f
1225 changed files with 2013 additions and 1963 deletions

View File

@@ -0,0 +1,9 @@
import audio
import aip
audio.audio_record("d:\\1.wav",3)
f = open("d:\\1.wav", 'rb')
client = aip.AipSpeech("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.asr(f.read(), options={})["result"][0])