fix buzzer

This commit is contained in:
fredqian
2024-07-23 20:47:22 +08:00
parent 37f53a66e3
commit 43caecbae6
1189 changed files with 1948 additions and 1946 deletions

View File

@@ -0,0 +1,8 @@
import FileDialog
import aip
f = open(FileDialog.getOneFile(), 'rb')
client = aip.AipSpeech("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
print(client.asr(f.read(), options={})["result"][0])