新增轮换apikey
This commit is contained in:
parent
9e85aef49a
commit
ad75dbcf88
9
main.py
9
main.py
@ -1,4 +1,5 @@
|
|||||||
# 使用讯飞 语音转写 接口将文件夹内所有内容转为文本
|
# 使用讯飞 语音转写 接口将文件夹内所有内容转为文本
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
@ -101,8 +102,12 @@ def main():
|
|||||||
folder_path = input("请输入文件夹路径: ")
|
folder_path = input("请输入文件夹路径: ")
|
||||||
keyList = [
|
keyList = [
|
||||||
{
|
{
|
||||||
'appid': '345xxxxxxx344',
|
'appid': 'xxxxx',
|
||||||
'secret_key':'xxxxxxxxxx8y5dshu93xxxxxxxxx'
|
'secret_key':'xxxxxxxxxxxxxxxxxxxxxxxx'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'appid': 'xxxxx',
|
||||||
|
'secret_key':'xxxxxxxxxxxxxxxxxxxxxxxx'
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user