Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def animate(
125
  @torch.no_grad()
126
  @spaces.GPU(duration=180)
127
  def animate_on_gpu(
128
- image_data: Union[Image, List[Image]],
129
  seed: Optional[int] = 42,
130
  motion_bucket_id: int = 127,
131
  fps_id: int = 6,
 
125
  @torch.no_grad()
126
  @spaces.GPU(duration=180)
127
  def animate_on_gpu(
128
+ image_data: Union[PIL.Image.Image, List[PIL.Image.Image]],
129
  seed: Optional[int] = 42,
130
  motion_bucket_id: int = 127,
131
  fps_id: int = 6,