Description
你好,我安装了2024年7月10日的github更新,运行动画时正常,当进度条加载完成后,在动画输出区显示错误,终端显示为:
Traceback (most recent call last):
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\gradio\queueing.py", line 541, in process_events
response = await route_utils.call_process_api(
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\gradio\blocks.py", line 1928, in process_api
result = await self.call_function(
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\gradio\blocks.py", line 1514, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\site-packages\gradio\utils.py", line 833, in wrapper
response = f(*args, **kwargs)
File "E:\Softwares\LivePortrait\app.py", line 37, in gpu_wrapped_execute_video
return gradio_pipeline.execute_video(*args, **kwargs)
File "E:\Softwares\LivePortrait\src\gradio_pipeline.py", line 57, in execute_video
video_path, video_path_concat = self.execute(self.args)
File "E:\Softwares\LivePortrait\src\live_portrait_pipeline.py", line 217, in execute
flag_has_audio = (not flag_load_from_template) and has_audio_stream(args.driving_info)
File "E:\Softwares\LivePortrait\src\utils\video.py", line 176, in has_audio_stream
result = subprocess.run(cmd, capture_output=True, text=True)
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Administrator\anaconda3\envs\liveportrait\lib\subprocess.py", line 1436, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
使用最初的版本没有问题,请问这个问题该如何解决呢。