multimodalart HF staff commited on
Commit
c9ad479
1 Parent(s): 03eb2f0

Allow for longer time execution

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ torch.jit.script = lambda f: f
12
 
13
  from transparent_background import Remover
14
 
15
- @spaces.GPU()
16
  def doo(video, color, mode, progress=gr.Progress()):
17
  print(str(color))
18
  if str(color).startswith('#'):
 
12
 
13
  from transparent_background import Remover
14
 
15
+ @spaces.GPU(duration=90)
16
  def doo(video, color, mode, progress=gr.Progress()):
17
  print(str(color))
18
  if str(color).startswith('#'):