Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ from PIL import Image
|
|
14 |
import uuid
|
15 |
import random
|
16 |
from huggingface_hub import login, hf_hub_download
|
17 |
-
import
|
18 |
|
19 |
#gradio.helpers.CACHED_FOLDER = '/data/cache'
|
20 |
|
@@ -53,6 +53,7 @@ def generate_video(
|
|
53 |
|
54 |
|
55 |
# note julian: normally we should resize input images, but normally they are already in 1024x576, so..
|
|
|
56 |
# also, I would like to experiment with vertical videos, and 1024x512 videos
|
57 |
image = resize_image(image)
|
58 |
|
|
|
14 |
import uuid
|
15 |
import random
|
16 |
from huggingface_hub import login, hf_hub_download
|
17 |
+
import spaces
|
18 |
|
19 |
#gradio.helpers.CACHED_FOLDER = '/data/cache'
|
20 |
|
|
|
53 |
|
54 |
|
55 |
# note julian: normally we should resize input images, but normally they are already in 1024x576, so..
|
56 |
+
|
57 |
# also, I would like to experiment with vertical videos, and 1024x512 videos
|
58 |
image = resize_image(image)
|
59 |
|