mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
add: 部署文件
This commit is contained in:
parent
fde3fd5fda
commit
3c034a7a8f
1 changed files with 2 additions and 0 deletions
|
|
@ -267,6 +267,8 @@ class FishSpeech_TTS(TTS):
|
|||
byte_audios = [audio_to_bytes(ref_audio) for ref_audio in ref_audios]
|
||||
if ref_texts is None:
|
||||
ref_texts = []
|
||||
else:
|
||||
ref_texts = [ref_text for ref_text in ref_texts]
|
||||
else:
|
||||
byte_audios = []
|
||||
ref_texts = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue