kairunwen commited on
Commit
4a2c55f
·
1 Parent(s): 551f29f

add duration

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ def get_dust3r_args_parser():
45
  return parser
46
 
47
 
48
- @spaces.GPU(duration=150)
49
  def process(inputfiles, input_path=None):
50
 
51
  if input_path is not None:
@@ -222,7 +222,7 @@ with block:
222
  input_path = gr.Textbox(visible=False, label="example_path")
223
  button_gen = gr.Button("RUN")
224
 
225
- with gr.Row(variant='panel'):
226
  with gr.Tab("Output"):
227
  with gr.Column(scale=2):
228
  with gr.Group():
 
45
  return parser
46
 
47
 
48
+ @spaces.GPU(duration=300)
49
  def process(inputfiles, input_path=None):
50
 
51
  if input_path is not None:
 
222
  input_path = gr.Textbox(visible=False, label="example_path")
223
  button_gen = gr.Button("RUN")
224
 
225
+ with gr.Row(variant='panel'):
226
  with gr.Tab("Output"):
227
  with gr.Column(scale=2):
228
  with gr.Group():