Lower ZeroGPU duration to 45s (model pre-downloaded; cuts quota per call)
Browse files
app.py
CHANGED
|
@@ -168,7 +168,7 @@ def _complete_impl(code, temperature, max_tokens, top_p):
|
|
| 168 |
return text, assembled, stats
|
| 169 |
|
| 170 |
|
| 171 |
-
@gpu(duration=
|
| 172 |
def complete(code, temperature, max_tokens, top_p):
|
| 173 |
import traceback
|
| 174 |
try:
|
|
|
|
| 168 |
return text, assembled, stats
|
| 169 |
|
| 170 |
|
| 171 |
+
@gpu(duration=45)
|
| 172 |
def complete(code, temperature, max_tokens, top_p):
|
| 173 |
import traceback
|
| 174 |
try:
|