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
c194c39667
commit
fde3fd5fda
1 changed files with 0 additions and 2 deletions
|
|
@ -267,8 +267,6 @@ class FishSpeech_TTS(TTS):
|
||||||
byte_audios = [audio_to_bytes(ref_audio) for ref_audio in ref_audios]
|
byte_audios = [audio_to_bytes(ref_audio) for ref_audio in ref_audios]
|
||||||
if ref_texts is None:
|
if ref_texts is None:
|
||||||
ref_texts = []
|
ref_texts = []
|
||||||
else:
|
|
||||||
ref_texts = [read_ref_text(ref_text) for ref_text in ref_texts]
|
|
||||||
else:
|
else:
|
||||||
byte_audios = []
|
byte_audios = []
|
||||||
ref_texts = []
|
ref_texts = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue