Update modeling_moss_speech_codec.py
Browse files
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))
|