Spaces:
Runtime error
Runtime error
改成120s
Browse files
app.py
CHANGED
|
@@ -36,11 +36,11 @@ gradio_pipeline = GradioPipeline(
|
|
| 36 |
args=args
|
| 37 |
)
|
| 38 |
|
| 39 |
-
@spaces.GPU(duration=
|
| 40 |
def gpu_wrapped_execute_video(*args, **kwargs):
|
| 41 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
| 42 |
|
| 43 |
-
@spaces.GPU(duration=
|
| 44 |
def gpu_wrapped_execute_image(*args, **kwargs):
|
| 45 |
return gradio_pipeline.execute_image(*args, **kwargs)
|
| 46 |
|
|
|
|
| 36 |
args=args
|
| 37 |
)
|
| 38 |
|
| 39 |
+
@spaces.GPU(duration=120)
|
| 40 |
def gpu_wrapped_execute_video(*args, **kwargs):
|
| 41 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
| 42 |
|
| 43 |
+
@spaces.GPU(duration=120)
|
| 44 |
def gpu_wrapped_execute_image(*args, **kwargs):
|
| 45 |
return gradio_pipeline.execute_image(*args, **kwargs)
|
| 46 |
|