
unet = ShowOneUNet3DConditionModel.from_pretrained(pipe_id, subfolder="unet") Finally, you’ll load the custom pipeline code. For this example, it has already been created for you in the pipeline_t2v_base_pixel.py script. This script contains a custom TextToVideoIFPipeline class for generating videos from text. Just like the custom UNet, any code needed for the custom pipeline to work should go in the pipeline_t2v_base_pixel.py script. Once eve