add: 部署文件

This commit is contained in:
lizhongxiang 2025-02-26 16:47:01 +08:00
parent c194c39667
commit fde3fd5fda

View file

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