Spaces:
Sleeping
Sleeping
apehex
commited on
Commit
·
75aa452
1
Parent(s):
6d4e5f6
Fix typo
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import psaiops.score.residual.app as app
|
|
| 9 |
# META #########################################################################
|
| 10 |
|
| 11 |
# frontload the model on the CPU to avoid downloading it from the GPU slot
|
| 12 |
-
psaiops.common.
|
| 13 |
|
| 14 |
# but do not instantiate unless necessary
|
| 15 |
_MODELS = {'cpu': None, 'cuda': None,}
|
|
|
|
| 9 |
# META #########################################################################
|
| 10 |
|
| 11 |
# frontload the model on the CPU to avoid downloading it from the GPU slot
|
| 12 |
+
psaiops.common.model.get_model(name=app.MODEL, device='cpu')
|
| 13 |
|
| 14 |
# but do not instantiate unless necessary
|
| 15 |
_MODELS = {'cpu': None, 'cuda': None,}
|