This commit is contained in:
seven 2025-03-25 23:34:46 +08:00
parent 52c9d55963
commit 739d2bdc2a
2 changed files with 2 additions and 2 deletions

View file

@ -311,7 +311,7 @@ TTS:
response_format: 'opus'
access_token: '123'
sample_rate: 16000
instruct_text: "普通话"
instruct_text: 普通话
CosyVoiceSiliconflow:
type: siliconflow
# 硅基流动TTS

View file

@ -56,7 +56,7 @@ class TTSProvider(TTSProviderBase):
if os.path.exists(audio_file_path):
fsize = os.path.getsize(audio_file_path)
else:
return
return None,None
if fsize < 1000:
duration = 100