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
Short videos like songs work well.
However, longer videos (large in size) will cause errors.
As you suggested in #97, I tried downgrade the version of faster-whisper , or remove venv and reinstalling install.bat, but the same error occurs.
I have 16g vram, nvcc --version is below
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Feb_27_16:28:36_Pacific_Standard_Time_2024
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0
Error :
Error transcribing file on line 'NoneType' object is not iterable
D:\project\Whisper-WebUI\venv\lib\site-packages\torch\cuda\memory.py:330: FutureWarning: torch.cuda.reset_max_memory_allocated now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats.
warnings.warn(
Traceback (most recent call last):
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\blocks.py", line 1561, in process_api
result = await self.call_function(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper
response = f(*args, **kwargs)
File "D:\project\Whisper-WebUI\modules\faster_whisper_inference.py", line 128, in transcribe_file
self.remove_input_files([fileobj.name for fileobj in fileobjs])
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
Which OS are you using?
Short videos like songs work well.
However, longer videos (large in size) will cause errors.
As you suggested in #97, I tried downgrade the version of faster-whisper , or remove venv and reinstalling install.bat, but the same error occurs.
I have 16g vram, nvcc --version is below
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Feb_27_16:28:36_Pacific_Standard_Time_2024
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0
Error :
Error transcribing file on line 'NoneType' object is not iterable
D:\project\Whisper-WebUI\venv\lib\site-packages\torch\cuda\memory.py:330: FutureWarning: torch.cuda.reset_max_memory_allocated now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats.
warnings.warn(
Traceback (most recent call last):
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\blocks.py", line 1561, in process_api
result = await self.call_function(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "D:\project\Whisper-WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
File "D:\project\Whisper-WebUI\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper
response = f(*args, **kwargs)
File "D:\project\Whisper-WebUI\modules\faster_whisper_inference.py", line 128, in transcribe_file
self.remove_input_files([fileobj.name for fileobj in fileobjs])
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: