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
官网上面没说需要ffmpeg就算了,怎么还报错如下错误呢:module 'ffmpeg' has no attribute 'input'
ffmpeg是版本不对吗?需要什么版本?
详细错误如下:
Traceback (most recent call last):
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/queueing.py", line 522, in process_events
response = await route_utils.call_process_api(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/route_utils.py", line 260, in call_process_api
output = await app.get_blocks().process_api(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/blocks.py", line 1689, in process_api
result = await self.call_function(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/blocks.py", line 1255, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 859, in run
result = context.run(func, *args)
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/utils.py", line 750, in wrapper
response = f(*args, **kwargs)
File "/root/AniPortrait/scripts/app.py", line 265, in audio2video
stream = ffmpeg.input(save_path)
AttributeError: module 'ffmpeg' has no attribute 'input'
The text was updated successfully, but these errors were encountered:
官网上面没说需要ffmpeg就算了,怎么还报错如下错误呢:module 'ffmpeg' has no attribute 'input'
ffmpeg是版本不对吗?需要什么版本?
详细错误如下:
Traceback (most recent call last):
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/queueing.py", line 522, in process_events
response = await route_utils.call_process_api(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/route_utils.py", line 260, in call_process_api
output = await app.get_blocks().process_api(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/blocks.py", line 1689, in process_api
result = await self.call_function(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/blocks.py", line 1255, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 859, in run
result = context.run(func, *args)
File "/root/anaconda3/envs/ani/lib/python3.9/site-packages/gradio/utils.py", line 750, in wrapper
response = f(*args, **kwargs)
File "/root/AniPortrait/scripts/app.py", line 265, in audio2video
stream = ffmpeg.input(save_path)
AttributeError: module 'ffmpeg' has no attribute 'input'
The text was updated successfully, but these errors were encountered: