Spaces:
Paused
Paused
Apply for community grant: Personal project (gpu)
#1
by
mrfakename
- opened
This project turns
into
Unfortunately, it doesn't work on ZERO GPU due to OAI Whisper
Thanks!
Unfortunately, it doesn't work on ZERO GPU due to OAI Whisper
My understanding is that whisper is integrated into transformers and I'm wondering if it's possible to use it so your Space can run on ZeroGPU.
BTW, I'm seeing the following error in the log:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 501, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 252, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1664, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1217, in call_function
prediction = await utils.async_iteration(iterator)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 514, in async_iteration
return await iterator.__anext__()
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 507, in __anext__
return await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 490, in run_sync_iterator_async
return next(iterator)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 673, in gen_wrapper
response = next(iterator)
File "/home/user/app/app.py", line 37, in subtitle
video = VideoFileClip(Path(input))
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 88, in __init__
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 35, in __init__
infos = ffmpeg_parse_infos(filename, print_infos, check_duration,
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 244, in ffmpeg_parse_infos
is_GIF = filename.endswith('.gif')
AttributeError: 'PosixPath' object has no attribute 'endswith'
sorry about that, will look into it! also will look into using transformers instead.
mrfakename
changed discussion status to
closed