You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在api.py文件中运行到data_or_path_or_list, audio_fs = torchaudio.load(file_io)这行代码出现如下:
soundfile.LibsndfileError: Error opening <_io.BytesIO object at 0x000001A5F63E69D0>: Format not recognised.
The text was updated successfully, but these errors were encountered:
调用代码:
audio_data = r"D:\project\whisper\audio\my_audio.wav"
api_url = "http://localhost:8666/api/v1/asr"
sense_voice = SenseVoice(api_url, emo=False)
result = sense_voice.speech_to_text(audio_data)
在api.py文件中运行到data_or_path_or_list, audio_fs = torchaudio.load(file_io)这行代码出现如下:
soundfile.LibsndfileError: Error opening <_io.BytesIO object at 0x000001A5F63E69D0>: Format not recognised.
The text was updated successfully, but these errors were encountered: