wileewang commited on
Commit
04cfec6
·
verified ·
1 Parent(s): 4a508fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -155,7 +155,7 @@ def center_crop_resize(input_video_path, target_width=720, target_height=480):
155
  return temp_video_path
156
 
157
 
158
- @spaces.GPU(duration=120)
159
  def infer(
160
  prompt: str,
161
  num_inference_steps: int,
@@ -270,7 +270,7 @@ with gr.Blocks() as demo:
270
  download_alpha_video_button = gr.File(label="📥 Download Alpha Video", visible=False)
271
  seed_text = gr.Number(label="Seed Used for Video Generation", visible=False)
272
 
273
- @spaces.GPU(duration=120)
274
  def generate(
275
  prompt,
276
  seed_value,
 
155
  return temp_video_path
156
 
157
 
158
+ @spaces.GPU(duration=720)
159
  def infer(
160
  prompt: str,
161
  num_inference_steps: int,
 
270
  download_alpha_video_button = gr.File(label="📥 Download Alpha Video", visible=False)
271
  seed_text = gr.Number(label="Seed Used for Video Generation", visible=False)
272
 
273
+ @spaces.GPU(duration=720)
274
  def generate(
275
  prompt,
276
  seed_value,