diff --git a/scripts/demo/streamlit_helpers.py b/scripts/demo/streamlit_helpers.py index 6c5760e26..d2d271e51 100644 --- a/scripts/demo/streamlit_helpers.py +++ b/scripts/demo/streamlit_helpers.py @@ -775,7 +775,8 @@ def denoiser(x, sigma, c): if filter is not None: samples = filter(samples) - + + grid = torch.stack([samples]) grid = rearrange(grid, "n b c h w -> (n h) (b w) c") outputs.image(grid.cpu().numpy()) if return_latents: