Reduce ZeroGPU duration request
#10
by coolbeanz79 - opened
- app.py +1 -1
- packages/npm/package.json +2 -1
app.py
CHANGED
|
@@ -16,7 +16,7 @@ except ImportError:
|
|
| 16 |
def zero_gpu_task(fn):
|
| 17 |
if spaces is None:
|
| 18 |
return fn
|
| 19 |
-
return spaces.GPU(duration=
|
| 20 |
|
| 21 |
|
| 22 |
CSS = """
|
|
|
|
| 16 |
def zero_gpu_task(fn):
|
| 17 |
if spaces is None:
|
| 18 |
return fn
|
| 19 |
+
return spaces.GPU(duration=120)(fn)
|
| 20 |
|
| 21 |
|
| 22 |
CSS = """
|
packages/npm/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"name": "between-the-lines-cli",
|
| 3 |
-
"version": "0.1.
|
| 4 |
"description": "CLI client for the hosted between-the-lines Python annotator.",
|
| 5 |
"type": "module",
|
| 6 |
"bin": {
|
|
|
|
| 7 |
"between-the-lines": "./src/cli.js",
|
| 8 |
"btl": "./src/cli.js"
|
| 9 |
},
|
|
|
|
| 1 |
{
|
| 2 |
"name": "between-the-lines-cli",
|
| 3 |
+
"version": "0.1.1",
|
| 4 |
"description": "CLI client for the hosted between-the-lines Python annotator.",
|
| 5 |
"type": "module",
|
| 6 |
"bin": {
|
| 7 |
+
"between-the-lines-cli": "./src/cli.js",
|
| 8 |
"between-the-lines": "./src/cli.js",
|
| 9 |
"btl": "./src/cli.js"
|
| 10 |
},
|