Spaces:
Sleeping
Sleeping
Update core/config.py
Browse files- core/config.py +4 -0
core/config.py
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
|
| 3 |
+
device = 0 if torch.cuda.is_available() else -1
|
| 4 |
+
cache_dir = "./models_cache"
|