Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prophesier committed Nov 22, 2022
1 parent c6a8592 commit 7a52c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer_tools/infer_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run(*args, **kwargs):


def format_wav(audio_path):
raw_audio, raw_sample_rate = librosa.load(audio_path, mono=True)
raw_audio, raw_sample_rate = librosa.load(audio_path, mono=True,sr=None)
soundfile.write(Path(audio_path).with_suffix(".wav"), raw_audio, raw_sample_rate)


Expand Down

0 comments on commit 7a52c5f

Please sign in to comment.