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,
|
@@ -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=
|
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,
|