Skip to content

Commit

Permalink
🐛 fix upsample option in images interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nateraw committed Sep 12, 2022
1 parent 159e9eb commit f93f06b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stable_diffusion_videos/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def fn_images(
guidance_scale=guidance_scale,
num_inference_steps=num_inference_steps,
generator=torch.Generator(device=pipeline.device).manual_seed(seed),
output_type='pil' if not upsample else 'numpy',
)["sample"][0]
return img if not upsample else upsampling_pipeline(img)

Expand Down

0 comments on commit f93f06b

Please sign in to comment.