mrcuddle commited on
Commit
8ed9a30
·
verified ·
1 Parent(s): 990a263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ try:
13
  except Exception as e:
14
  raise RuntimeError(f"Failed to load the model: {e}")
15
 
16
- @spaces.GPU
17
  def generate_video(image, num_frames=25, height=576, width=1024):
18
  try:
19
  # Convert the image to a format suitable for the pipeline
 
13
  except Exception as e:
14
  raise RuntimeError(f"Failed to load the model: {e}")
15
 
16
+ @spaces.GPU(duration=300)
17
  def generate_video(image, num_frames=25, height=576, width=1024):
18
  try:
19
  # Convert the image to a format suitable for the pipeline