Browse Source

更新腾讯云接口的秘钥

liyuyi@c-top.com.cn 3 years ago
parent
commit
352cce5308
1 changed files with 2 additions and 1 deletions
  1. 2 1
      asr_client.py

+ 2 - 1
asr_client.py

@@ -6,7 +6,8 @@ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentClo
 from tencentcloud.common.profile.client_profile import ClientProfile
 from tencentcloud.common.profile.http_profile import HttpProfile
 
-cred = credential.Credential("AKIDqgNp2yqDbqwta1I7nIXXIn21lFTSxk15", "7yZxAE7l9IC7nDVIp52jDQL6csrZ7OQD")
+# cred = credential.Credential("AKIDqgNp2yqDbqwta1I7nIXXIn21lFTSxk15", "7yZxAE7l9IC7nDVIp52jDQL6csrZ7OQD")
+cred = credential.Credential("AKIDPcZGgphIcfRxCF1XmjQqzqRlnY3GCrFN", "tVqvjFUS9ZhY8RTEiJeiV1GEvMVNyJM8")
 httpProfile = HttpProfile()
 httpProfile.endpoint = "asr.tencentcloudapi.com"