Update: 更新板卡

This commit is contained in:
王立帮
2024-07-21 09:30:11 +08:00
parent ab9db2b32a
commit 189de53fb0
1258 changed files with 1461 additions and 1260 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])