Closed lonngxiang closed 1 month ago
src/gradio_pipeline.py", line 63, in execute_video video_path, video_path_concat = self.execute(self.args) AttributeError: 'GradioPipeline' object has no attribute 'execute'
Thank you for your attention. Could you please provide more details on how you triggered this error?
python app.py --server_name "0.0.0.0"
Load appearance_feature_extractor done. live_portrait_wrapper.py:29 Load motion_extractor done. live_portrait_wrapper.py:32 [05:10:58] Load warping_module done. live_portrait_wrapper.py:35 Load spade_generator done. live_portrait_wrapper.py:38 Load stitching_retargeting_module done. live_portrait_wrapper.py:42 /home/anaconda3/envs/aigc/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider' warnings.warn( LandmarkRunner warmup time: 0.026s landmark_runner.py:89 FaceAnalysisDIY warmup time: 0.041s face_analysis_diy.py:79 Running on local URL: http://0.0.0.0:8890
Could not create share link. Missing file: /home/anaconda3/envs/aigc/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2.
Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:
Thank you for providing more details! The execute function in GradioPipeline is inherited from the LivePortraitPipeline. It appears that the line numbers in your code differ from those in the main branch. Have you made any modifications? Please pull the latest changes from the main branch to update your code and try again. @lonngxiang
src/gradio_pipeline.py", line 63, in execute_video video_path, video_path_concat = self.execute(self.args) AttributeError: 'GradioPipeline' object has no attribute 'execute'