We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5e885 commit e539ae3Copy full SHA for e539ae3
voice/baidu/baidu_voice.py
@@ -43,9 +43,9 @@ def __init__(self):
43
with open(config_path, "r") as fr:
44
bconf = json.load(fr)
45
46
- self.app_id = conf().get("baidu_app_id")
47
- self.api_key = conf().get("baidu_api_key")
48
- self.secret_key = conf().get("baidu_secret_key")
+ self.app_id = str(conf().get("baidu_app_id"))
+ self.api_key = str(conf().get("baidu_api_key"))
+ self.secret_key = str(conf().get("baidu_secret_key"))
49
self.dev_id = conf().get("baidu_dev_pid")
50
self.lang = bconf["lang"]
51
self.ctp = bconf["ctp"]
0 commit comments