Add t2v multiple line queues and v2v multi-file queues #195
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactored the code a bit so the logic about computing latents from video frames was separated out from the other logic.
Then added a basic queue using a deque.
For text to video, if you add prompts on new lines it will process them in a batch, similar to how the "Prompts from file or textbox" works in the normal txt2img tab.
For example, entering the following into the prompt input, will set up a queue where they process in sequence:
dancing man
dancing frog
dancing octopus
This means you can set up a big list of prompts to run over a long period of time instead of having to start them individually. In this mode, changing the batch count will create a new batch for each video (so batch count 2 for the above would make 6 total videos, 2 of each).
For vid2vid, the video input now accepts multiple files. If you drop in multiple files it will process them with the given prompt in sequence. Again, quite helpful if you are testing out different outputs with the same prompt and want to upscale all at the same time.