toshas commited on
Commit
e72a2c5
·
verified ·
1 Parent(s): 7775464

Set duration to 120

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(