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