From ad75dbcf889c8db0eb1ed223a8879dbecbebd08a Mon Sep 17 00:00:00 2001 From: Randall Date: Wed, 20 Nov 2024 10:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BD=AE=E6=8D=A2apikey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ca7444c..6a2a5d3 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,5 @@ # 使用讯飞 语音转写 接口将文件夹内所有内容转为文本 + import os import json import requests @@ -101,8 +102,12 @@ def main(): folder_path = input("请输入文件夹路径: ") keyList = [ { - 'appid': '345xxxxxxx344', - 'secret_key':'xxxxxxxxxx8y5dshu93xxxxxxxxx' + 'appid': 'xxxxx', + 'secret_key':'xxxxxxxxxxxxxxxxxxxxxxxx' + }, + { + 'appid': 'xxxxx', + 'secret_key':'xxxxxxxxxxxxxxxxxxxxxxxx' }, ]