rahul7star commited on
Commit
5ef3204
·
verified ·
1 Parent(s): 60fb5ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(duration=100)
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():