Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ except ImportError:
|
|
22 |
# Download models once at startup
|
23 |
_, _ = dreamsim(pretrained=True, device="cpu")
|
24 |
|
25 |
-
@spaces.GPU(duration=
|
26 |
class Evaluator:
|
27 |
def __init__(self, device):
|
28 |
self.device = device
|
|
|
22 |
# Download models once at startup
|
23 |
_, _ = dreamsim(pretrained=True, device="cpu")
|
24 |
|
25 |
+
@spaces.GPU(duration=15)
|
26 |
class Evaluator:
|
27 |
def __init__(self, device):
|
28 |
self.device = device
|