wileewang commited on
Commit
39fb4af
·
verified ·
1 Parent(s): c3dd7f3

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