Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
8a3ce8b
1
Parent(s):
c013935
As import (#44)
Browse files- As import (2b5de1eda6ce5b11f026faecd5745d2949475a66)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
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[
|
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[Image.Image, List[Image.Image]],
|
129 |
seed: Optional[int] = 42,
|
130 |
motion_bucket_id: int = 127,
|
131 |
fps_id: int = 6,
|