This commit is contained in:
seven 2025-03-25 19:53:53 +08:00
parent bf484bf0f7
commit b855979042

View file

@ -55,7 +55,7 @@ class TTSProvider(TTSProviderBase):
code = [] code = []
with open(audio_file_path,encoding='utf-8') as f: with open(audio_file_path,encoding='utf-8') as f:
for line in f.readlines(): for line in f.readlines():
code.append(json.dumps(line)) code.append(json.loads(line))
params = code[0] params = code[0]
headers = code[1] headers = code[1]