mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
Update forge_svd.py
This commit is contained in:
@@ -49,7 +49,7 @@ def predict(filename, width, height, video_frames, motion_bucket_id, fps, augmen
|
|||||||
model = opVideoLinearCFGGuidance.patch(model_raw, guidance_min_cfg)[0]
|
model = opVideoLinearCFGGuidance.patch(model_raw, guidance_min_cfg)[0]
|
||||||
init_image = numpy_to_pytorch(input_image)
|
init_image = numpy_to_pytorch(input_image)
|
||||||
positive, negative, latent_image = opSVD_img2vid_Conditioning.encode(clip_vision, init_image, vae, width, height, video_frames, motion_bucket_id, fps, augmentation_level)
|
positive, negative, latent_image = opSVD_img2vid_Conditioning.encode(clip_vision, init_image, vae, width, height, video_frames, motion_bucket_id, fps, augmentation_level)
|
||||||
output_latent = opKSampler.sample(model, sampling_seed, sampling_steps, sampling_cfg, sampling_sampler_name, sampling_scheduler, positive, negative, latent_image, sampling_denoise)
|
output_latent = opKSampler.sample(model, sampling_seed, sampling_steps, sampling_cfg, sampling_sampler_name, sampling_scheduler, positive, negative, latent_image, sampling_denoise)[0]
|
||||||
output_pixels = opVAEDecode.decode(vae, output_latent)[0]
|
output_pixels = opVAEDecode.decode(vae, output_latent)[0]
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user