Closed HanJu-Chen closed 7 months ago
workflow_api_save_vedio.py.txt.txt workflow_api_save_vedio.json Here's my workflow and python code. It works when I don't use VHS in code to save the video and use save image to save it.
This appears to be a duplicate of #112
Since multiple people have run into this issue I'll do some digging to try and detect when ComfyUI-to-Python is in use. I don't think it'll be possible to automatically apply the format widget values since they don't appear to exist in the python script post conversion, but it should be simple enough to provide a streamlined error message describing a fix that doesn't require editing videohelpersuite/nodes.py
That issue is most likely coming from using python 3.8. Solved by upgrading python.
When I run the workflow after switching to python code, I get this error.
In comfyui, my workflow is running successfully. But when converted to python code, the nonetype error occurs when saving the video using VHS.
I'm not quite sure why the error occurs when running in code, but not in comfyui. All my nodes load successfully.
![Snipaste_2024-01-04_14-01-21](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/assets/96210358/d4407ba6-afa3-4677-84d3-6e69cf9f1892)