wileewang commited on
Commit
3e31c85
·
verified ·
1 Parent(s): e75d879

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=720)
159
  def infer(
160
  prompt: str,
161
  num_inference_steps: int,
@@ -257,7 +257,7 @@ with gr.Blocks() as demo:
257
  download_alpha_video_button = gr.File(label="📥 Download Alpha Video", visible=False)
258
  seed_text = gr.Number(label="Seed Used for Video Generation", visible=False)
259
 
260
- @spaces.GPU(duration=720)
261
  def generate(
262
  prompt,
263
  seed_value,
 
155
  return temp_video_path
156
 
157
 
158
+ @spaces.GPU(duration=420)
159
  def infer(
160
  prompt: str,
161
  num_inference_steps: int,
 
257
  download_alpha_video_button = gr.File(label="📥 Download Alpha Video", visible=False)
258
  seed_text = gr.Number(label="Seed Used for Video Generation", visible=False)
259
 
260
+ @spaces.GPU(duration=420)
261
  def generate(
262
  prompt,
263
  seed_value,