Spaces:
Running
on
Zero
Running
on
Zero
adjust gpu duration
Browse files
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=
|
619 |
def quick_run(*args, **kwargs):
|
620 |
return _ncut_run(*args, **kwargs)
|
621 |
|
622 |
-
@spaces.GPU(duration=
|
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 |
|