HReynaud commited on
Commit
d97c28e
·
1 Parent(s): b004a19
Files changed (1) hide show
  1. demo.py +2 -0
demo.py CHANGED
@@ -498,6 +498,8 @@ def generate_animation(
498
  return synthetic_video.detach() # B x C x T x H x W
499
 
500
 
 
 
501
  def decode_animation(latent_animation):
502
  """Decode a latent animation to pixel space"""
503
  if latent_animation is None:
 
498
  return synthetic_video.detach() # B x C x T x H x W
499
 
500
 
501
+ @spaces.GPU
502
+ @torch.no_grad()
503
  def decode_animation(latent_animation):
504
  """Decode a latent animation to pixel space"""
505
  if latent_animation is None: