Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ ckpt_dir = snapshot_download(repo_id, local_dir_use_symlinks=False)
|
|
12 |
print(f"Using checkpoints from {ckpt_dir}")
|
13 |
|
14 |
# ---------------- Step 2: Generation Functions ----------------
|
15 |
-
@spaces.GPU
|
16 |
def generate_t2v(prompt, size="1280*704"):
|
17 |
"""Text-to-Video generation."""
|
18 |
if not prompt.strip():
|
|
|
12 |
print(f"Using checkpoints from {ckpt_dir}")
|
13 |
|
14 |
# ---------------- Step 2: Generation Functions ----------------
|
15 |
+
@spaces.GPU
|
16 |
def generate_t2v(prompt, size="1280*704"):
|
17 |
"""Text-to-Video generation."""
|
18 |
if not prompt.strip():
|