harry0703 / MoneyPrinterTurbo

利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
MIT License
14.79k stars 2.27k forks source link

生成长视频报错,看执行过程内存占用也比较高。是不是可以优化一下内存占用的问题。 #439

Open OSeer123 opened 5 days ago

OSeer123 commented 5 days ago

preprocess local materials

TypeError: 'NoneType' object is not iterable Traceback: File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/MoneyPrinterTurbo/webui/Main.py", line 637, in result = tm.start(task_id=task_id, params=params) File "/MoneyPrinterTurbo/app/services/task.py", line 130, in start materials = video.preprocess_video(materials=params.video_materials, clip_duration=max_clip_duration) File "/MoneyPrinterTurbo/app/services/video.py", line 288, in preprocess_video for material in materials: