Whisper-WebUI
Whisper-WebUI copied to clipboard
keep having problem with wav file.
had some problem with wav file, and tried to reinstall all. still have porblem with ffmpeg i guess, so i deleted all and reinstall, make system path correctly, and still have problem. can i have any help for it to solve?
Traceback (most recent call last): File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\whisper\audio.py", line 42, in load_audio ffmpeg.input(file, threads=0) AttributeError: module 'ffmpeg' has no attribute 'input'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\routes.py", line 384, in run_predict output = await app.get_blocks().process_api( File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1024, in process_api result = await self.call_function( File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 836, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "D:\Whisper-WebUI-master\modules\whisper_Inference.py", line 38, in transcribe_file audio = whisper.load_audio(fileobj.name) File "C:\Users\Ha\AppData\Local\Programs\Python\Python310\lib\site-packages\whisper\audio.py", line 46, in load_audio except ffmpeg.Error as e: AttributeError: module 'ffmpeg' has no attribute 'Error'