Open Johnnyprim3 opened 1 year ago
Make sure that you're using text2vid. I noticed this error occurs on vid2vid when I hit generate without inputting a video.
When you close webui and run it again some internal states are lost. Some of these states are active tab in SD-CN-Animation and ControlNet enabled status. You have to set these states again in the UI by clicking on tabs and checkboxes. Otherwise you will have an error like this. This is not strictly speaking an issue, just a way how gradio works.
What states are lost? I get this same error when I tried running txt2vid without ever using vid2vid. I tried vid2vid and it started generating video, interrupted that and went back to txt2vid which no longer gets the error but seems to be stuck on the frame count I set in vid2vid. That seems like state for txt2vid is not being properly initialized. This extensions git commit is https://github.com/volotat/SD-CN-Animation/commit/46ae16e4cb849413c02381e6c0f885ed14a95f01
@drwootton Can't really tell honestly. I usually just recheck the 'enabled' checkbox on the ControlNets and 'vid2vid/txt2vid' tab and then press 'generate' button. I think gradio assumes that each time you start python execution you also reload UI in the browser. It could be a solution, although you would have to set all parameters again. I'm gonna add the 'import parameters' option soon, so it should not be this much of an issue anymore.
I have NO idea why this shows whenever I try to use Text2vid...which is weird because I had been using it all day. Only started glitching when I restarted.