tzzte commited on
Commit
6ec4b28
·
verified ·
1 Parent(s): 4ff5a32

Update Echox_copy_stream.py

Browse files
Files changed (1) hide show
  1. Echox_copy_stream.py +2 -0
Echox_copy_stream.py CHANGED
@@ -104,6 +104,7 @@ class EchoxAssistant():
104
  self.args = BasicSetting()
105
  self.device = "cuda"
106
 
 
107
  if self.args.cosyvoice_model_path:
108
  print(f"[EchoxAssistant] Initializing CosyVoice2 TTS from {self.args.cosyvoice_model_path} ...")
109
  try:
@@ -122,6 +123,7 @@ class EchoxAssistant():
122
  self.vocoder, self.voc_cfg = load_speech_model(self.device)
123
  self.audio_executor = ThreadPoolExecutor(max_workers=2)
124
  else:
 
125
  self.vocoder, self.voc_cfg = load_speech_model(self.device)
126
  self.cosyvoice_tts = None
127
  self.cosyvoice_ref_audio = None
 
104
  self.args = BasicSetting()
105
  self.device = "cuda"
106
 
107
+ print(f"### {self.args.cosyvoice_model_path}")
108
  if self.args.cosyvoice_model_path:
109
  print(f"[EchoxAssistant] Initializing CosyVoice2 TTS from {self.args.cosyvoice_model_path} ...")
110
  try:
 
123
  self.vocoder, self.voc_cfg = load_speech_model(self.device)
124
  self.audio_executor = ThreadPoolExecutor(max_workers=2)
125
  else:
126
+ print(f"backup plan")
127
  self.vocoder, self.voc_cfg = load_speech_model(self.device)
128
  self.cosyvoice_tts = None
129
  self.cosyvoice_ref_audio = None