Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
@@ -300,7 +300,7 @@ class StreamMultiDiffusion(nn.Module):
|
|
300 |
(b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device))
|
301 |
else:
|
302 |
self.x_t_latent_buffer = torch.zeros(
|
303 |
-
(b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device)
|
304 |
|
305 |
def reset_state(self) -> None:
|
306 |
# TODO Reset states for context switch between multiple users.
|
|
|
300 |
(b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device))
|
301 |
else:
|
302 |
self.x_t_latent_buffer = torch.zeros(
|
303 |
+
(b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device)
|
304 |
|
305 |
def reset_state(self) -> None:
|
306 |
# TODO Reset states for context switch between multiple users.
|