Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
8a735a9
1
Parent(s):
6c37e16
Update app.py
Browse files
app.py
CHANGED
@@ -358,7 +358,7 @@ def process_video(input_video, resolution, num_inference_steps, strength, hdr, g
|
|
358 |
progress(1.0, desc=f"Error: {str(e)}")
|
359 |
return None
|
360 |
|
361 |
-
@spaces.GPU(duration=
|
362 |
def gradio_process_media(input_media, resolution, num_inference_steps, strength, hdr, guidance_scale, max_frames, frame_interval, preserve_frames, batch_size, progress=gr.Progress()):
|
363 |
abort_event.clear() # Clear the abort flag at the start of a new job
|
364 |
if input_media is None:
|
|
|
358 |
progress(1.0, desc=f"Error: {str(e)}")
|
359 |
return None
|
360 |
|
361 |
+
@spaces.GPU(duration=240)
|
362 |
def gradio_process_media(input_media, resolution, num_inference_steps, strength, hdr, guidance_scale, max_frames, frame_interval, preserve_frames, batch_size, progress=gr.Progress()):
|
363 |
abort_event.clear() # Clear the abort flag at the start of a new job
|
364 |
if input_media is None:
|