Update gradio app.py to @spaces.GPU(duration=1200)
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -69,7 +69,7 @@ def trim_video(input_path, output_path, max_duration=10):
|
|
| 69 |
clip.close()
|
| 70 |
trimmed_clip.close()
|
| 71 |
|
| 72 |
-
@spaces.GPU(duration=
|
| 73 |
def infer(input_video, input_mask):
|
| 74 |
# Setup paths and parameters
|
| 75 |
save_path = "results"
|
|
|
|
| 69 |
clip.close()
|
| 70 |
trimmed_clip.close()
|
| 71 |
|
| 72 |
+
@spaces.GPU(duration=1200)
|
| 73 |
def infer(input_video, input_mask):
|
| 74 |
# Setup paths and parameters
|
| 75 |
save_path = "results"
|