Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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=
|
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,
|