huzey commited on
Commit
c4b0a8e
1 Parent(s): 6bb0b0a

adjust gpu duration

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -615,11 +615,11 @@ def _ncut_run(*args, **kwargs):
615
  # return ret
616
 
617
  if USE_HUGGINGFACE_ZEROGPU:
618
- @spaces.GPU(duration=20)
619
  def quick_run(*args, **kwargs):
620
  return _ncut_run(*args, **kwargs)
621
 
622
- @spaces.GPU(duration=30)
623
  def long_run(*args, **kwargs):
624
  return _ncut_run(*args, **kwargs)
625
 
 
615
  # return ret
616
 
617
  if USE_HUGGINGFACE_ZEROGPU:
618
+ @spaces.GPU(duration=30)
619
  def quick_run(*args, **kwargs):
620
  return _ncut_run(*args, **kwargs)
621
 
622
+ @spaces.GPU(duration=45)
623
  def long_run(*args, **kwargs):
624
  return _ncut_run(*args, **kwargs)
625