Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -14,8 +14,8 @@ logging.basicConfig(level=logging.INFO)
|
|
14 |
logger = logging.getLogger(__name__)
|
15 |
|
16 |
# device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
17 |
-
# device = "cpu"
|
18 |
-
device = "cuda"
|
19 |
|
20 |
# comment in/out the models you want to use
|
21 |
# RAM requirements: ~16GB x #models (+ ~4GB overhead)
|
|
|
14 |
logger = logging.getLogger(__name__)
|
15 |
|
16 |
# device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
17 |
+
# device = torch.device("cpu")
|
18 |
+
device = torch.device("cuda")
|
19 |
|
20 |
# comment in/out the models you want to use
|
21 |
# RAM requirements: ~16GB x #models (+ ~4GB overhead)
|