add: 部署文件

This commit is contained in:
lizhongxiang 2025-02-26 17:09:32 +08:00
parent fde3fd5fda
commit 3c034a7a8f

View file

@ -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 = []