Spaces:
Sleeping
Sleeping
extended zero gpu limit
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def no_op_decorator(func):
|
|
106 |
return wrapper
|
107 |
|
108 |
# Decide which decorator to use based on environment
|
109 |
-
decorator_to_use = spaces.GPU(duration=60) if is_running_in_hf_space() else no_op_decorator
|
110 |
|
111 |
|
112 |
@decorator_to_use
|
|
|
106 |
return wrapper
|
107 |
|
108 |
# Decide which decorator to use based on environment
|
109 |
+
decorator_to_use = spaces.GPU(duration=60 * 5) if is_running_in_hf_space() else no_op_decorator
|
110 |
|
111 |
|
112 |
@decorator_to_use
|