Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ TITLE = """
|
|
28 |
[[github:ixarchakos/try-off-anyone]](https://github.com/ixarchakos/try-off-anyone)
|
29 |
"""
|
30 |
|
31 |
-
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "
|
32 |
DTYPE = torch.bfloat16 if DEVICE == 'cuda' else torch.float32
|
33 |
|
34 |
pipeline_tryoff = TryOffAnyone(
|
|
|
28 |
[[github:ixarchakos/try-off-anyone]](https://github.com/ixarchakos/try-off-anyone)
|
29 |
"""
|
30 |
|
31 |
+
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
32 |
DTYPE = torch.bfloat16 if DEVICE == 'cuda' else torch.float32
|
33 |
|
34 |
pipeline_tryoff = TryOffAnyone(
|