Phospheneser commited on
Commit
f11796a
·
verified ·
1 Parent(s): fc938b2

Update modeling_moss_speech_codec.py

Browse files
Files changed (1) hide show
  1. modeling_moss_speech_codec.py +0 -1
modeling_moss_speech_codec.py CHANGED
@@ -434,7 +434,6 @@ class MossSpeechCodec(PreTrainedModel):
434
  codes_list = [list(c) for c in audio_codes]
435
 
436
  if prompt_speech is None or not os.path.exists(str(prompt_speech)):
437
- print(f"{str(prompt_speech)=}")
438
  raise ValueError("`prompt_speech` path is required for decoding and must exist.")
439
 
440
  prompt_wav, orig_sr = torchaudio.load(str(prompt_speech))
 
434
  codes_list = [list(c) for c in audio_codes]
435
 
436
  if prompt_speech is None or not os.path.exists(str(prompt_speech)):
 
437
  raise ValueError("`prompt_speech` path is required for decoding and must exist.")
438
 
439
  prompt_wav, orig_sr = torchaudio.load(str(prompt_speech))