Spaces:
Running
on
Zero
Running
on
Zero
Set duration to 120
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def process(pipe, device, path_input):
|
|
| 127 |
|
| 128 |
|
| 129 |
def run_demo_server(pipe, device):
|
| 130 |
-
process_pipe = spaces.GPU(functools.partial(process, pipe, device))
|
| 131 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
| 132 |
|
| 133 |
with gr.Blocks(
|
|
|
|
| 127 |
|
| 128 |
|
| 129 |
def run_demo_server(pipe, device):
|
| 130 |
+
process_pipe = spaces.GPU(functools.partial(process, pipe, device), duration=120)
|
| 131 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
| 132 |
|
| 133 |
with gr.Blocks(
|